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

Unified Diff: mojo/services/ui/views/interfaces/view_manager.mojom

Issue 1949233002: Create a RegisterViewAssociate method in ViewManager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Improved tests Created 4 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
« no previous file with comments | « no previous file | services/BUILD.gn » ('j') | services/ui/view_manager/tests/view_manager_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/ui/views/interfaces/view_manager.mojom
diff --git a/mojo/services/ui/views/interfaces/view_manager.mojom b/mojo/services/ui/views/interfaces/view_manager.mojom
index 6592ea9119d0c4de1cece5eb2a507535f9bced46..04134f0ca3f2c9fe5d084c6fe4e0038a010233fb 100644
--- a/mojo/services/ui/views/interfaces/view_manager.mojom
+++ b/mojo/services/ui/views/interfaces/view_manager.mojom
@@ -67,4 +67,13 @@ interface ViewManager {
CreateViewTree(mojo.ui.ViewTree& view_tree,
mojo.ui.ViewTreeListener view_tree_listener,
string? label);
+
+ // Registers a view associate with the view manager
+ //
+ // The services provided by |view_associate| will be made available to views
+ //
+ // The |url| is the path that was used to launch the view_associate (used for
+ // debug messages only)
+ RegisterViewAssociate(mojo.ui.ViewAssociate view_associate,
+ string? url);
};
« no previous file with comments | « no previous file | services/BUILD.gn » ('j') | services/ui/view_manager/tests/view_manager_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698