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

Unified Diff: services/ui/view_manager/view_manager_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_host_impl.cc ('k') | services/ui/view_manager/view_manager_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_manager_impl.h
diff --git a/services/ui/view_manager/view_manager_impl.h b/services/ui/view_manager/view_manager_impl.h
index fcb490ecdad896519a086f6a658d2167a7497ab8..f9edea4b5388f74f774c27bfd482ae21785ec2d6 100644
--- a/services/ui/view_manager/view_manager_impl.h
+++ b/services/ui/view_manager/view_manager_impl.h
@@ -20,12 +20,12 @@ class ViewManagerImpl : public mojo::ui::ViewManager {
private:
// |ViewManager|:
void RegisterView(
- mojo::ui::ViewPtr view,
+ mojo::InterfaceHandle<mojo::ui::View> view,
mojo::InterfaceRequest<mojo::ui::ViewHost> view_host_request,
mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
const mojo::String& label) override;
void RegisterViewTree(
- mojo::ui::ViewTreePtr view_tree,
+ mojo::InterfaceHandle<mojo::ui::ViewTree> view_tree,
mojo::InterfaceRequest<mojo::ui::ViewTreeHost> view_tree_host_request,
const mojo::String& label) override;
« no previous file with comments | « services/ui/view_manager/view_host_impl.cc ('k') | services/ui/view_manager/view_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698