RenderFrameChild.h 814 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef mozilla_dom_RenderFrameChild_h
  8. #define mozilla_dom_RenderFrameChild_h
  9. #include "mozilla/layout/PRenderFrameChild.h"
  10. namespace mozilla {
  11. namespace layout {
  12. class RenderFrameChild : public PRenderFrameChild
  13. {
  14. public:
  15. RenderFrameChild() : mWasDestroyed(false) {}
  16. virtual ~RenderFrameChild() {}
  17. void ActorDestroy(ActorDestroyReason why) override;
  18. void Destroy();
  19. private:
  20. bool mWasDestroyed;
  21. };
  22. } // namespace layout
  23. } // namespace mozilla
  24. #endif // mozilla_dom_RenderFrameChild_h