Index: mojo/services/public/interfaces/view_manager/view_manager.mojom |
diff --git a/mojo/services/public/interfaces/view_manager/view_manager.mojom b/mojo/services/public/interfaces/view_manager/view_manager.mojom |
index ef50c45449f0a90b99e9b8ce55aaf6b5332353ff..41237b84716c2e538f4d2f562c36b6005eb272d6 100644 |
--- a/mojo/services/public/interfaces/view_manager/view_manager.mojom |
+++ b/mojo/services/public/interfaces/view_manager/view_manager.mojom |
@@ -13,6 +13,14 @@ struct INode { |
mojo.Rect bounds; |
}; |
+// IViewManagerInit is responsible for launching the client that controls the |
+// root node. mojo::view_manager returns an instance of this. All other |
+// connections are established by the client this creates. |
+interface IViewManagerInit { |
+ // Connects to |url| creating a connection that has the roots |nodes|. |
+ Connect(string url) => (bool success); |
+}; |
+ |
// Functions that mutate the hierarchy take a change id. This is an ever |
// increasing integer used to identify the change. Every hierarchy change |
// increases this value. The server only accepts changes where the supplied |