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

Side by Side Diff: services/view_manager/view_manager_service_impl.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ 5 #ifndef SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_
6 #define SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ 6 #define SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 mojo::Array<uint8_t> value, 203 mojo::Array<uint8_t> value,
204 const mojo::Callback<void(bool)>& callback) override; 204 const mojo::Callback<void(bool)>& callback) override;
205 void EmbedUrl(const mojo::String& url, 205 void EmbedUrl(const mojo::String& url,
206 mojo::Id transport_view_id, 206 mojo::Id transport_view_id,
207 mojo::InterfaceRequest<mojo::ServiceProvider> services, 207 mojo::InterfaceRequest<mojo::ServiceProvider> services,
208 mojo::ServiceProviderPtr exposed_services, 208 mojo::ServiceProviderPtr exposed_services,
209 const mojo::Callback<void(bool)>& callback) override; 209 const mojo::Callback<void(bool)>& callback) override;
210 void Embed(mojo::Id transport_view_id, 210 void Embed(mojo::Id transport_view_id,
211 mojo::ViewManagerClientPtr client, 211 mojo::ViewManagerClientPtr client,
212 const mojo::Callback<void(bool)>& callback) override; 212 const mojo::Callback<void(bool)>& callback) override;
213 void PerformAction(mojo::Id transport_view_id,
214 const mojo::String& action,
215 const mojo::Callback<void(bool)>& callback) override;
213 216
214 // AccessPolicyDelegate: 217 // AccessPolicyDelegate:
215 bool IsRootForAccessPolicy(const ViewId& id) const override; 218 bool IsRootForAccessPolicy(const ViewId& id) const override;
216 bool IsViewKnownForAccessPolicy(const ServerView* view) const override; 219 bool IsViewKnownForAccessPolicy(const ServerView* view) const override;
217 bool IsViewRootOfAnotherConnectionForAccessPolicy( 220 bool IsViewRootOfAnotherConnectionForAccessPolicy(
218 const ServerView* view) const override; 221 const ServerView* view) const override;
219 222
220 ConnectionManager* connection_manager_; 223 ConnectionManager* connection_manager_;
221 224
222 // Id of this connection as assigned by ConnectionManager. 225 // Id of this connection as assigned by ConnectionManager.
(...skipping 25 matching lines...) Expand all
248 // connection may have no root. A connection has no root if either the root 251 // connection may have no root. A connection has no root if either the root
249 // is destroyed or Embed() is invoked on the root. 252 // is destroyed or Embed() is invoked on the root.
250 scoped_ptr<ViewId> root_; 253 scoped_ptr<ViewId> root_;
251 254
252 DISALLOW_COPY_AND_ASSIGN(ViewManagerServiceImpl); 255 DISALLOW_COPY_AND_ASSIGN(ViewManagerServiceImpl);
253 }; 256 };
254 257
255 } // namespace view_manager 258 } // namespace view_manager
256 259
257 #endif // SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ 260 #endif // SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « services/view_manager/view_manager_service_apptest.cc ('k') | services/view_manager/view_manager_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698