Chromium Code Reviews| 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..a7cdad50f6763350eeb650bdb5109ecbce17b585 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) { |
|
msw
2015/02/25 22:30:32
Oh, hmm, should this callback be run when the wm r
sky
2015/02/25 23:20:27
Done.
|
| + connection_manager_->GetWindowManagerViewManagerClient()->OnPerformAction( |
| + transport_view_id, action); |
| +} |
| + |
| bool ViewManagerServiceImpl::IsRootForAccessPolicy(const ViewId& id) const { |
| return IsRoot(id); |
| } |