Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/dom/clients/manager/ClientOpenWindowOpChild.h
Line
Count
Source (jump to first uncovered line)
1
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
3
/* This Source Code Form is subject to the terms of the Mozilla Public
4
 * License, v. 2.0. If a copy of the MPL was not distributed with this
5
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
#ifndef _mozilla_dom_ClientOpenWindowOpChild_h
7
#define _mozilla_dom_ClientOpenWindowOpChild_h
8
9
#include "mozilla/dom/PClientOpenWindowOpChild.h"
10
#include "ClientOpPromise.h"
11
12
namespace mozilla {
13
namespace dom {
14
15
class ClientOpenWindowOpChild final : public PClientOpenWindowOpChild
16
{
17
  MozPromiseRequestHolder<ClientOpPromise> mPromiseRequestHolder;
18
19
  already_AddRefed<ClientOpPromise>
20
  DoOpenWindow(const ClientOpenWindowArgs& aArgs);
21
22
  // PClientOpenWindowOpChild interface
23
  void
24
  ActorDestroy(ActorDestroyReason aReason) override;
25
26
public:
27
0
  ClientOpenWindowOpChild() = default;
28
0
  ~ClientOpenWindowOpChild() = default;
29
30
  void
31
  Init(const ClientOpenWindowArgs& aArgs);
32
};
33
34
} // namespace dom
35
} // namespace mozilla
36
37
#endif // _mozilla_dom_ClientOpenWindowOpChild_h