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 cad72ec7a3efddeed8c228a702b5edb64a8a1937..f12fc64c55855c28c721e8536b9b4a0c2d5662f1 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 |
@@ -25,7 +25,10 @@ class ViewManagerPrivate { |
} |
Shell* shell() { return manager_->shell_; } |
- void SetRoot(ViewTreeNode* root); |
+ void set_root(ViewTreeNode* root) { manager_->tree_ = root; } |
+ |
+ void AddNode(TransportNodeId node_id, ViewTreeNode* node); |
+ void RemoveNode(TransportNodeId node_id); |
// Returns true if the ViewManager's synchronizer is connected to the service. |
bool connected() { return manager_->synchronizer_->connected(); } |