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

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

Issue 316083002: Add support for multiple roots to the client lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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/lib/view_manager_private.h
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_private.h b/mojo/services/public/cpp/view_manager/lib/view_manager_private.h
index 1c091ed56c095d71928f98b77599ac5f8318d500..ff09c158396144f1a7bf645541fbeed6c8d4975e 100644
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_private.h
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_private.h
@@ -19,10 +19,6 @@ class ViewManagerPrivate {
explicit ViewManagerPrivate(ViewManager* manager);
~ViewManagerPrivate();
- void NotifyReady() {
- manager_->ready_callback_.Run(manager_);
- }
-
ViewManagerSynchronizer* synchronizer() {
return manager_->synchronizer_;
}
@@ -30,7 +26,8 @@ class ViewManagerPrivate {
manager_->synchronizer_ = synchronizer;
}
- void set_root(ViewTreeNode* root) { manager_->tree_ = root; }
+ void AddRoot(ViewTreeNode* root);
+ void RemoveRoot(ViewTreeNode* root);
void AddNode(TransportNodeId node_id, ViewTreeNode* node);
void RemoveNode(TransportNodeId node_id);

Powered by Google App Engine
This is Rietveld 408576698