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

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..fb492ec50663928b65ede76d989cea61144d39c4 100644
--- a/mojo/services/public/cpp/view_manager/view_manager.h
+++ b/mojo/services/public/cpp/view_manager/view_manager.h
@@ -6,14 +6,31 @@
#define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
namespace mojo {
+class Shell;
namespace services {
namespace view_manager {
+class ViewManagerSynchronizer;
+
+// Approximately encapsulates the View Manager service.
+// Owns a synchronizer that keeps a client model in sync with the service.
+// Owned by the creator.
+//
+// TODO: displays
class ViewManager {
public:
+ explicit ViewManager(Shell* shell);
+ ~ViewManager();
+
private:
+ friend class ViewManagerPrivate;
+
+ Shell* shell_;
+ scoped_ptr<ViewManagerSynchronizer> synchronizer_;
+
DISALLOW_COPY_AND_ASSIGN(ViewManager);
};
« no previous file with comments | « mojo/services/public/cpp/view_manager/lib/view_tree_node.cc ('k') | mojo/services/public/cpp/view_manager/view_tree_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698