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

Unified Diff: services/ui/view_manager/view_tree_host_impl.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_stub.cc ('k') | services/ui/view_manager/view_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/view_manager/view_tree_host_impl.h
diff --git a/services/ui/view_manager/view_tree_host_impl.h b/services/ui/view_manager/view_tree_host_impl.h
index 4c832f1f14511dc3d246a5db4916590b458dba72..c364fe429f83f3b6c6769379d25582877714fc1a 100644
--- a/services/ui/view_manager/view_tree_host_impl.h
+++ b/services/ui/view_manager/view_tree_host_impl.h
@@ -28,8 +28,9 @@ class ViewTreeHostImpl : public mojo::ui::ViewTreeHost,
void GetServiceProvider(
mojo::InterfaceRequest<mojo::ServiceProvider> service_provider) override;
void RequestLayout() override;
- void SetRoot(uint32_t root_key,
- mojo::ui::ViewOwnerPtr root_view_owner) override;
+ void SetRoot(
+ uint32_t root_key,
+ mojo::InterfaceHandle<mojo::ui::ViewOwner> root_view_owner) override;
void ResetRoot(mojo::InterfaceRequest<mojo::ui::ViewOwner>
transferred_view_owner_request) override;
void LayoutRoot(mojo::ui::ViewLayoutParamsPtr root_layout_params,
« no previous file with comments | « services/ui/view_manager/view_stub.cc ('k') | services/ui/view_manager/view_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698