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

Unified Diff: examples/ui/tile/tile_app.h

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/spinning_cube/spinning_cube_view.cc ('k') | examples/ui/tile/tile_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/tile/tile_app.h
diff --git a/examples/ui/tile/tile_app.h b/examples/ui/tile/tile_app.h
index 1b4d61996c11b62e58d2b11b9b47cb48522a44bf..35ba7673a6bc8d3a148a36702cf84e20de558b4c 100644
--- a/examples/ui/tile/tile_app.h
+++ b/examples/ui/tile/tile_app.h
@@ -14,11 +14,11 @@ class TileApp : public mojo::ui::ViewProviderApp {
TileApp();
~TileApp() override;
- bool CreateView(
+ void CreateView(
const std::string& connection_url,
+ mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
- mojo::ServiceProviderPtr exposed_services,
- const mojo::ui::ViewProvider::CreateViewCallback& callback) override;
+ mojo::ServiceProviderPtr exposed_services) override;
private:
DISALLOW_COPY_AND_ASSIGN(TileApp);
« no previous file with comments | « examples/ui/spinning_cube/spinning_cube_view.cc ('k') | examples/ui/tile/tile_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698