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

Unified Diff: apps/moterm/moterm_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 | « apps/moterm/moterm_view.h ('k') | examples/shadows/shadows_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/moterm/moterm_view.cc
diff --git a/apps/moterm/moterm_view.cc b/apps/moterm/moterm_view.cc
index e9f942f9bfbce694a47b699ea1a9b374f3a4a771..43cb2fc78cce29fa66620ef33e1f205e60c77a5b 100644
--- a/apps/moterm/moterm_view.cc
+++ b/apps/moterm/moterm_view.cc
@@ -38,10 +38,10 @@ constexpr uint32_t kMotermImageResourceId = 1;
constexpr uint32_t kRootNodeId = mojo::gfx::composition::kSceneRootNodeId;
MotermView::MotermView(
- mojo::ApplicationImpl* app_impl,
+ mojo::InterfaceHandle<mojo::ApplicationConnector> app_connector,
mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
mojo::InterfaceRequest<mojo::ServiceProvider> service_provider_request)
- : GaneshView(app_impl, view_owner_request.Pass(), "Moterm"),
+ : GaneshView(app_connector.Pass(), view_owner_request.Pass(), "Moterm"),
choreographer_(scene(), this),
input_handler_(GetViewServiceProvider(), this),
model_(MotermModel::Size(240, 160), MotermModel::Size(24, 80), this),
« no previous file with comments | « apps/moterm/moterm_view.h ('k') | examples/shadows/shadows_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698