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

Unified Diff: services/view_manager/view_manager_app.h

Issue 893183003: De-client the ViewManager interfaces (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « services/view_manager/connection_manager_delegate.h ('k') | services/view_manager/view_manager_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/view_manager/view_manager_app.h
diff --git a/services/view_manager/view_manager_app.h b/services/view_manager/view_manager_app.h
index ece47403ba7e1276239bbe2a0bafa456ea1235a8..7d42f246f4663c5a935a37dde43ebd32394c92b9 100644
--- a/services/view_manager/view_manager_app.h
+++ b/services/view_manager/view_manager_app.h
@@ -11,6 +11,7 @@
#include "mojo/public/cpp/application/interface_factory.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/public/cpp/bindings/error_handler.h"
+#include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h"
#include "mojo/services/window_manager/public/interfaces/window_manager_internal.mojom.h"
#include "services/view_manager/connection_manager_delegate.h"
@@ -38,6 +39,7 @@ class ViewManagerApp
void OnLostConnectionToWindowManager() override;
ClientConnection* CreateClientConnectionForEmbedAtView(
ConnectionManager* connection_manager,
+ mojo::InterfaceRequest<mojo::ViewManagerService> service_request,
mojo::ConnectionSpecificId creator_id,
const std::string& creator_url,
const std::string& url,
@@ -59,6 +61,7 @@ class ViewManagerApp
mojo::ApplicationConnection* wm_app_connection_;
scoped_ptr<mojo::Binding<mojo::WindowManagerInternalClient>>
wm_internal_client_binding_;
+ mojo::InterfaceRequest<mojo::ViewManagerClient> wm_internal_client_request_;
mojo::WindowManagerInternalPtr wm_internal_;
scoped_ptr<ConnectionManager> connection_manager_;
mojo::TracingImpl tracing_;
« no previous file with comments | « services/view_manager/connection_manager_delegate.h ('k') | services/view_manager/view_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698