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

Unified Diff: services/view_manager/view_manager_service_impl.cc

Issue 954273002: Routes WindowManager functionality through the view manager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: comments 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
Index: services/view_manager/view_manager_service_impl.cc
diff --git a/services/view_manager/view_manager_service_impl.cc b/services/view_manager/view_manager_service_impl.cc
index 0c8a5832270bbd1f8d8b3fe661c45723e989335b..48e32c757383d7045c4981adad751ae3bac633ea 100644
--- a/services/view_manager/view_manager_service_impl.cc
+++ b/services/view_manager/view_manager_service_impl.cc
@@ -627,6 +627,14 @@ void ViewManagerServiceImpl::Embed(mojo::Id transport_view_id,
callback.Run(Embed(ViewIdFromTransportId(transport_view_id), client.Pass()));
}
+void ViewManagerServiceImpl::PerformAction(
+ mojo::Id transport_view_id,
+ const mojo::String& action,
+ const mojo::Callback<void(bool)>& callback) {
+ connection_manager_->GetWindowManagerViewManagerClient()->OnPerformAction(
+ transport_view_id, action, callback);
+}
+
bool ViewManagerServiceImpl::IsRootForAccessPolicy(const ViewId& id) const {
return IsRoot(id);
}
« no previous file with comments | « services/view_manager/view_manager_service_impl.h ('k') | services/view_manager/view_manager_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698