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

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

Powered by Google App Engine
This is Rietveld 408576698