Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Side by Side Diff: extensions/renderer/guest_view/extensions_guest_view_container.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « extensions/renderer/extensions_renderer_client.h ('k') | extensions/renderer/guest_view/guest_view_internal_custom_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698