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

Unified Diff: mojo/services/public/cpp/view_manager/view_manager.h

Issue 258623005: First step at synchronizing client model changes with service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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: mojo/services/public/cpp/view_manager/view_manager.h
diff --git a/mojo/services/public/cpp/view_manager/view_manager.h b/mojo/services/public/cpp/view_manager/view_manager.h
index 45ab0e2f58657faa5eddf9a05a7450fe5bf54b4f..c8cb91e949fe70e16cbc819dde6084e5f23f93dc 100644
--- a/mojo/services/public/cpp/view_manager/view_manager.h
+++ b/mojo/services/public/cpp/view_manager/view_manager.h
@@ -6,14 +6,26 @@
#define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
namespace mojo {
+class Application;
namespace services {
namespace view_manager {
+class ViewManagerSynchronizer;
+
class ViewManager {
public:
+ explicit ViewManager(Application* application);
sky 2014/04/28 23:04:19 Does this really need Application and not Shell?
+ ~ViewManager();
+
private:
+ friend class ViewManagerPrivate;
+
+ Application* application_;
+ scoped_ptr<ViewManagerSynchronizer> synchronizer_;
+
DISALLOW_COPY_AND_ASSIGN(ViewManager);
};

Powered by Google App Engine
This is Rietveld 408576698