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

Unified Diff: mojo/services/public/interfaces/view_manager/view_manager.mojom

Issue 308803002: Change type of interface created by mojo:view_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 7 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/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
« no previous file with comments | « mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc ('k') | mojo/services/view_manager/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698