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

Unified Diff: services/ui/view_manager/view_stub.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_registry.cc ('k') | services/ui/view_manager/view_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/view_manager/view_stub.h
diff --git a/services/ui/view_manager/view_stub.h b/services/ui/view_manager/view_stub.h
index db031bb420f56212baad003d49b5cfa1ce007d5b..461d0d74237c12b2ab84e3f63cba87c35559f42a 100644
--- a/services/ui/view_manager/view_stub.h
+++ b/services/ui/view_manager/view_stub.h
@@ -34,7 +34,8 @@ class ViewStub {
// Begins the process of resolving a view.
// Invokes |ViewRegistry.OnViewResolved| when the token is obtained
// from the owner or passes nullptr if an error occurs.
- ViewStub(ViewRegistry* registry, mojo::ui::ViewOwnerPtr owner);
+ ViewStub(ViewRegistry* registry,
+ mojo::InterfaceHandle<mojo::ui::ViewOwner> owner);
~ViewStub();
// Gets the view state referenced by the stub, or null if the view
« no previous file with comments | « services/ui/view_manager/view_registry.cc ('k') | services/ui/view_manager/view_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698