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

Unified Diff: components/view_manager/view_manager_root_impl.h

Issue 1245683004: Mandoline: Merge Surfaces and Views apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed bot issues (I hope) Created 5 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
« no previous file with comments | « components/view_manager/view_manager_app.cc ('k') | components/view_manager/view_manager_root_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/view_manager_root_impl.h
diff --git a/components/view_manager/view_manager_root_impl.h b/components/view_manager/view_manager_root_impl.h
index 79e337cc0f8dae2e3977314b0563ad80732dd6e1..f9e6a9b9e446e577e1a5c51fbce03db168b1f6ed 100644
--- a/components/view_manager/view_manager_root_impl.h
+++ b/components/view_manager/view_manager_root_impl.h
@@ -11,6 +11,14 @@
#include "components/view_manager/public/interfaces/view_manager_root.mojom.h"
#include "components/view_manager/server_view.h"
+namespace cc {
+class SurfaceManager;
+}
+
+namespace surfaces {
+class SurfacesScheduler;
+}
+
namespace view_manager {
class ConnectionManager;
@@ -28,10 +36,12 @@ class ViewManagerRootImpl : public DisplayManagerDelegate,
// TODO(fsamuel): All these parameters are just plumbing for creating
// DisplayManagers. We should probably just store these common parameters
// in the DisplayManagerFactory and pass them along on DisplayManager::Create.
- ViewManagerRootImpl(ConnectionManager* connection_manager,
- bool is_headless,
- mojo::ApplicationImpl* app_impl,
- const scoped_refptr<gles2::GpuState>& gpu_state);
+ ViewManagerRootImpl(
+ ConnectionManager* connection_manager,
+ bool is_headless,
+ mojo::ApplicationImpl* app_impl,
+ const scoped_refptr<gles2::GpuState>& gpu_state,
+ const scoped_refptr<surfaces::SurfacesState>& surfaces_state);
~ViewManagerRootImpl() override;
// Initializes state that depends on the existence of a ViewManagerRootImpl.
« no previous file with comments | « components/view_manager/view_manager_app.cc ('k') | components/view_manager/view_manager_root_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698