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

Unified Diff: services/ui/view_manager/view_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/input_manager/input_associate.cc ('k') | services/ui/view_manager/view_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_host_impl.h
diff --git a/services/ui/view_manager/view_host_impl.h b/services/ui/view_manager/view_host_impl.h
index 2ed54f613a875eb8885194ad041f1ab553ee1e27..053ad523a6c115b29056fdf09f575649816a235f 100644
--- a/services/ui/view_manager/view_host_impl.h
+++ b/services/ui/view_manager/view_host_impl.h
@@ -31,8 +31,9 @@ class ViewHostImpl : public mojo::ui::ViewHost,
void CreateScene(
mojo::InterfaceRequest<mojo::gfx::composition::Scene> scene) override;
void RequestLayout() override;
- void AddChild(uint32_t child_key,
- mojo::ui::ViewOwnerPtr child_view_owner) override;
+ void AddChild(
+ uint32_t child_key,
+ mojo::InterfaceHandle<mojo::ui::ViewOwner> child_view_owner) override;
void RemoveChild(uint32_t child_key,
mojo::InterfaceRequest<mojo::ui::ViewOwner>
transferred_view_owner_request) override;
« no previous file with comments | « services/ui/input_manager/input_associate.cc ('k') | services/ui/view_manager/view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698