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

Unified Diff: components/view_manager/view_tree_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
« no previous file with comments | « components/view_manager/view_tree_apptest.cc ('k') | components/view_manager/view_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/view_tree_impl.h
diff --git a/components/view_manager/view_tree_impl.h b/components/view_manager/view_tree_impl.h
index 8e0dac9887e8d42f500cb4765461c6fb8f4ec462..1650e959f0cb75a97ea57bcec0dcfd7631153080 100644
--- a/components/view_manager/view_tree_impl.h
+++ b/components/view_manager/view_tree_impl.h
@@ -197,17 +197,17 @@ class ViewTreeImpl : public mojo::ViewTree, public AccessPolicyDelegate {
mojo::Id view_id,
mojo::InterfaceRequest<mojo::Surface> surface,
mojo::SurfaceClientPtr client) override;
- void SetEmbedRoot() override;
void Embed(mojo::Id transport_view_id,
mojo::ViewTreeClientPtr client,
const mojo::Callback<void(bool)>& callback) override;
void SetFocus(uint32_t view_id) override;
void SetViewTextInputState(uint32_t view_id,
mojo::TextInputStatePtr state) override;
- void SetImeVisibility(uint32_t view_id,
+ void SetImeVisibility(mojo::Id transport_view_id,
bool visible,
mojo::TextInputStatePtr state) override;
-
+ void SetAccessPolicy(mojo::Id transport_view_id,
+ uint32 policy_bitmask) override;
// AccessPolicyDelegate:
bool IsRootForAccessPolicy(const ViewId& id) const override;
@@ -227,7 +227,7 @@ class ViewTreeImpl : public mojo::ViewTree, public AccessPolicyDelegate {
mojo::ViewTreeClient* client_;
- scoped_ptr<AccessPolicy> access_policy_;
+ scoped_ptr<view_manager::AccessPolicy> access_policy_;
// The views created by this connection. This connection owns these objects.
ViewMap view_map_;
« no previous file with comments | « components/view_manager/view_tree_apptest.cc ('k') | components/view_manager/view_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698