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

Unified Diff: components/view_manager/public/cpp/lib/view_tree_client_impl.h

Issue 1317713006: Changes around how embed roots are set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk Created 5 years, 3 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: components/view_manager/public/cpp/lib/view_tree_client_impl.h
diff --git a/components/view_manager/public/cpp/lib/view_tree_client_impl.h b/components/view_manager/public/cpp/lib/view_tree_client_impl.h
index 806ed4cf887e064a06929cc2276532af5ab2f995..9edd333f21d174cdda7db2e1758331a5c08464a2 100644
--- a/components/view_manager/public/cpp/lib/view_tree_client_impl.h
+++ b/components/view_manager/public/cpp/lib/view_tree_client_impl.h
@@ -48,12 +48,8 @@ class ViewTreeClientImpl : public ViewTreeConnection, public ViewTreeClient {
const std::vector<uint8_t>& data);
void SetViewTextInputState(Id view_id, TextInputStatePtr state);
void SetImeVisibility(Id view_id, bool visible, TextInputStatePtr state);
+ void SetAccessPolicy(Id view_id, uint32_t access_policy);
- void Embed(const String& url, Id view_id);
- void Embed(mojo::URLRequestPtr request,
- Id view_id,
- InterfaceRequest<ServiceProvider> services,
- ServiceProviderPtr exposed_services);
void Embed(Id view_id, ViewTreeClientPtr client);
void RequestSurface(Id view_id,
@@ -87,13 +83,14 @@ class ViewTreeClientImpl : public ViewTreeConnection, public ViewTreeClient {
View* GetViewById(Id id) override;
View* GetFocusedView() override;
View* CreateView() override;
- void SetEmbedRoot() override;
+ bool IsEmbedRoot() override;
// Overridden from ViewTreeClient:
void OnEmbed(ConnectionSpecificId connection_id,
ViewDataPtr root,
ViewTreePtr tree,
- Id focused_view_id) override;
+ Id focused_view_id,
+ uint32_t access_policy) override;
void OnEmbeddedAppDisconnected(Id view_id) override;
void OnUnembed() override;
void OnViewBoundsChanged(Id view_id,
« no previous file with comments | « components/view_manager/public/cpp/lib/view.cc ('k') | components/view_manager/public/cpp/lib/view_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698