Line data Source code
1 : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 : * vim: sw=2 ts=8 et :
3 : */
4 : /* This Source Code Form is subject to the terms of the Mozilla Public
5 : * License, v. 2.0. If a copy of the MPL was not distributed with this
6 : * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 :
8 : #ifndef mozilla_dom_RenderFrameChild_h
9 : #define mozilla_dom_RenderFrameChild_h
10 :
11 : #include "mozilla/layout/PRenderFrameChild.h"
12 :
13 : namespace mozilla {
14 : namespace layout {
15 :
16 : class RenderFrameChild : public PRenderFrameChild
17 : {
18 : public:
19 1 : RenderFrameChild() : mWasDestroyed(false) {}
20 0 : virtual ~RenderFrameChild() {}
21 :
22 : void ActorDestroy(ActorDestroyReason why) override;
23 :
24 : void Destroy();
25 :
26 : private:
27 : bool mWasDestroyed;
28 : };
29 :
30 : } // namespace layout
31 : } // namespace mozilla
32 :
33 : #endif // mozilla_dom_RenderFrameChild_h
|