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

Unified Diff: services/ui/view_manager/view_registry.h

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase ontop of master, address trung's comments Created 4 years, 10 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 | « services/ui/view_manager/view_manager_impl.cc ('k') | services/ui/view_manager/view_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/view_manager/view_registry.h
diff --git a/services/ui/view_manager/view_registry.h b/services/ui/view_manager/view_registry.h
index 3f2b7baf63e95286fd3896cb8a68912fd6779bdd..567d18c64935aeba24f01a4c7ed79a12d400e4c8 100644
--- a/services/ui/view_manager/view_registry.h
+++ b/services/ui/view_manager/view_registry.h
@@ -73,7 +73,7 @@ class ViewRegistry : public mojo::ui::ViewInspector {
// Destroys |parent_state| if an error occurs.
void AddChild(ViewState* parent_state,
uint32_t child_key,
- mojo::ui::ViewOwnerPtr child_view_owner);
+ mojo::InterfaceHandle<mojo::ui::ViewOwner> child_view_owner);
// Removes a child.
// Destroys |parent_state| if an error occurs.
@@ -108,7 +108,7 @@ class ViewRegistry : public mojo::ui::ViewInspector {
// Destroys |tree_state| if an error occurs.
void SetRoot(ViewTreeState* tree_state,
uint32_t root_key,
- mojo::ui::ViewOwnerPtr root_view_owner);
+ mojo::InterfaceHandle<mojo::ui::ViewOwner> root_view_owner);
// Resets the root of the view tree.
// Destroys |tree_state| if an error occurs.
« no previous file with comments | « services/ui/view_manager/view_manager_impl.cc ('k') | services/ui/view_manager/view_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698