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

Unified Diff: mojo/ui/base_view.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 | « mojo/services/ui/views/interfaces/views.mojom ('k') | mojo/ui/base_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/base_view.h
diff --git a/mojo/ui/base_view.h b/mojo/ui/base_view.h
index 757dcb9ae88f7a950a3bbf26eb10ecd32b65267c..b2cccefaaa0b301eb4f3946a83004038ceb0a316 100644
--- a/mojo/ui/base_view.h
+++ b/mojo/ui/base_view.h
@@ -13,7 +13,6 @@
#include "mojo/public/interfaces/application/service_provider.mojom.h"
#include "mojo/services/gfx/composition/interfaces/scenes.mojom.h"
#include "mojo/services/ui/views/interfaces/view_manager.mojom.h"
-#include "mojo/services/ui/views/interfaces/view_provider.mojom.h"
#include "mojo/services/ui/views/interfaces/views.mojom.h"
namespace mojo {
@@ -29,10 +28,9 @@ class BaseView : public mojo::ui::View {
public:
// TODO(jeffbrown): Consider switching this over to an ApplicationConnector
// but having ApplicationImpl is handy for simple examples.
- BaseView(
- mojo::ApplicationImpl* app_impl,
- const std::string& label,
- const mojo::ui::ViewProvider::CreateViewCallback& create_view_callback);
+ BaseView(mojo::ApplicationImpl* app_impl,
+ mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
+ const std::string& label);
~BaseView() override;
« no previous file with comments | « mojo/services/ui/views/interfaces/views.mojom ('k') | mojo/ui/base_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698