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

Unified Diff: blimp/client/core/contents/blimp_contents_manager.h

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fix build break Created 4 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/contents/blimp_contents_manager.h
diff --git a/blimp/client/core/contents/blimp_contents_manager.h b/blimp/client/core/contents/blimp_contents_manager.h
index a19e6efdaa4a8016d1aea7d995c680007c3e8b29..fcbadc5d5ef060a0ade1f70027ac6f91e5af7673 100644
--- a/blimp/client/core/contents/blimp_contents_manager.h
+++ b/blimp/client/core/contents/blimp_contents_manager.h
@@ -5,11 +5,19 @@
#ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_MANAGER_H_
#define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_MANAGER_H_
-#include "blimp/client/core/contents/blimp_contents_impl.h"
+#include <map>
+
+#include "base/memory/weak_ptr.h"
namespace blimp {
namespace client {
+class BlimpCompositorDependencies;
+class BlimpContents;
+class BlimpContentsImpl;
+class ImeFeature;
+class NavigationFeature;
+class RenderWidgetFeature;
class TabControlFeature;
// BlimpContentsManager does the real work of creating BlimpContentsImpl, and
@@ -17,9 +25,12 @@ class TabControlFeature;
// monitor the life time of the contents it creates.
class BlimpContentsManager {
public:
- explicit BlimpContentsManager(ImeFeature* ime_feature,
- NavigationFeature* nav_feature,
- TabControlFeature* tab_control_feature);
+ explicit BlimpContentsManager(
+ BlimpCompositorDependencies* blimp_compositor_dependencies,
+ ImeFeature* ime_feature,
+ NavigationFeature* nav_feature,
+ RenderWidgetFeature* render_widget_feature,
+ TabControlFeature* tab_control_feature);
~BlimpContentsManager();
// Builds a BlimpContentsImpl and notifies the engine.
@@ -53,8 +64,10 @@ class BlimpContentsManager {
// lifetime of the observers.
std::map<int, std::unique_ptr<BlimpContentsDeletionObserver>> observer_map_;
+ BlimpCompositorDependencies* blimp_compositor_dependencies_;
ImeFeature* ime_feature_;
NavigationFeature* navigation_feature_;
+ RenderWidgetFeature* render_widget_feature_;
TabControlFeature* tab_control_feature_;
// TODO(mlliu): Currently we want to have a single BlimpContents. Remove this
« no previous file with comments | « blimp/client/core/contents/blimp_contents_impl_unittest.cc ('k') | blimp/client/core/contents/blimp_contents_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698