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

Unified Diff: mojo/ui/ganesh_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 | « mojo/ui/ganesh_view.h ('k') | mojo/ui/gl_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/ganesh_view.cc
diff --git a/mojo/ui/ganesh_view.cc b/mojo/ui/ganesh_view.cc
index 56962e561ccd35f039350cd787e8dbf91d541e24..395888a1e04a44cbe0bdab13cfd2cee2fd369dc6 100644
--- a/mojo/ui/ganesh_view.cc
+++ b/mojo/ui/ganesh_view.cc
@@ -13,9 +13,9 @@ namespace ui {
GaneshView::GaneshView(
mojo::ApplicationImpl* app_impl,
- const std::string& label,
- const mojo::ui::ViewProvider::CreateViewCallback& create_view_callback)
- : BaseView(app_impl, label, create_view_callback),
+ mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
+ const std::string& label)
+ : BaseView(app_impl, view_owner_request.Pass(), label),
gl_context_owner_(mojo::ApplicationConnectorPtr::Create(
app_impl->CreateApplicationConnector())
.get()),
« no previous file with comments | « mojo/ui/ganesh_view.h ('k') | mojo/ui/gl_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698