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

Unified Diff: examples/ui/shapes/shapes_view.cc

Issue 1679023006: Reify view ownership as a message pipe. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | « examples/ui/shapes/shapes_view.h ('k') | examples/ui/spinning_cube/spinning_cube_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/shapes/shapes_view.cc
diff --git a/examples/ui/shapes/shapes_view.cc b/examples/ui/shapes/shapes_view.cc
index 8bea9c332dfd6179e8069ea67516efe07191b197..1a6803bfd4e7b2de93cb120ab6ca9bab00acf4a7 100644
--- a/examples/ui/shapes/shapes_view.cc
+++ b/examples/ui/shapes/shapes_view.cc
@@ -19,8 +19,8 @@ constexpr uint32_t kRootNodeId = mojo::gfx::composition::kSceneRootNodeId;
ShapesView::ShapesView(
mojo::ApplicationImpl* app_impl,
- const mojo::ui::ViewProvider::CreateViewCallback& create_view_callback)
- : GaneshView(app_impl, "Shapes", create_view_callback) {}
+ mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request)
+ : GaneshView(app_impl, view_owner_request.Pass(), "Shapes") {}
ShapesView::~ShapesView() {}
« no previous file with comments | « examples/ui/shapes/shapes_view.h ('k') | examples/ui/spinning_cube/spinning_cube_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698