| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_H_ | 5 #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_H_ |
| 6 #define EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_H_ | 6 #define EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "components/guest_view/renderer/guest_view_container.h" | 11 #include "components/guest_view/renderer/guest_view_container.h" |
| 12 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
| 13 | 13 |
| 14 namespace gfx { | |
| 15 class Size; | |
| 16 } | |
| 17 | |
| 18 namespace extensions { | 14 namespace extensions { |
| 19 | 15 |
| 20 class ExtensionsGuestViewContainer : public guest_view::GuestViewContainer { | 16 class ExtensionsGuestViewContainer : public guest_view::GuestViewContainer { |
| 21 public: | 17 public: |
| 22 explicit ExtensionsGuestViewContainer(content::RenderFrame* render_frame); | 18 explicit ExtensionsGuestViewContainer(content::RenderFrame* render_frame); |
| 23 | 19 |
| 24 protected: | 20 protected: |
| 25 ~ExtensionsGuestViewContainer() override; | 21 ~ExtensionsGuestViewContainer() override; |
| 26 | 22 |
| 27 private: | 23 private: |
| 28 // GuestViewContainer implementation. | 24 // GuestViewContainer implementation. |
| 29 void OnDestroy(bool embedder_frame_destroyed) override; | 25 void OnDestroy(bool embedder_frame_destroyed) override; |
| 30 | 26 |
| 31 DISALLOW_COPY_AND_ASSIGN(ExtensionsGuestViewContainer); | 27 DISALLOW_COPY_AND_ASSIGN(ExtensionsGuestViewContainer); |
| 32 }; | 28 }; |
| 33 | 29 |
| 34 } // namespace extensions | 30 } // namespace extensions |
| 35 | 31 |
| 36 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_H_ | 32 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_H_ |
| OLD | NEW |