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

Unified Diff: examples/ui/spinning_cube/spinning_cube_view.cc

Issue 1991853003: Make BaseView et al. take an ApplicationConnector instead of an ApplicationImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh Created 4 years, 7 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.h ('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/spinning_cube/spinning_cube_view.cc
diff --git a/examples/ui/spinning_cube/spinning_cube_view.cc b/examples/ui/spinning_cube/spinning_cube_view.cc
index fab02ecca76928fd31fdc5d3361500a2d422d0cb..9386b8853ce4dbd379c1778fe64ccfd742d4d405 100644
--- a/examples/ui/spinning_cube/spinning_cube_view.cc
+++ b/examples/ui/spinning_cube/spinning_cube_view.cc
@@ -54,9 +54,9 @@ int GetEventDirection(const mojo::PointF& current,
} // namespace
SpinningCubeView::SpinningCubeView(
- mojo::ApplicationImpl* app_impl,
+ mojo::InterfaceHandle<mojo::ApplicationConnector> app_connector,
mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request)
- : GLView(app_impl, view_owner_request.Pass(), "SpinningCube"),
+ : GLView(app_connector.Pass(), view_owner_request.Pass(), "SpinningCube"),
choreographer_(scene(), this),
input_handler_(GetViewServiceProvider(), this),
weak_ptr_factory_(this) {
« no previous file with comments | « examples/ui/spinning_cube/spinning_cube_view.h ('k') | examples/ui/tile/tile_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698