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

Unified Diff: components/view_manager/default_access_policy.cc

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/default_access_policy.h ('k') | components/view_manager/public/cpp/lib/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/default_access_policy.cc
diff --git a/components/view_manager/default_access_policy.cc b/components/view_manager/default_access_policy.cc
index c3e99a44832655090e324397ba1bcd168432b7bf..dbfeedb43b69b55f51f1f7f3fd3f02b7d1b4a3b9 100644
--- a/components/view_manager/default_access_policy.cc
+++ b/components/view_manager/default_access_policy.cc
@@ -100,6 +100,10 @@ bool DefaultAccessPolicy::CanSetFocus(const ServerView* view) const {
delegate_->IsRootForAccessPolicy(view->id());
}
+bool DefaultAccessPolicy::CanSetAccessPolicy(const ServerView* view) const {
+ return false;
+}
+
bool DefaultAccessPolicy::ShouldNotifyOnHierarchyChange(
const ServerView* view,
const ServerView** new_parent,
« no previous file with comments | « components/view_manager/default_access_policy.h ('k') | components/view_manager/public/cpp/lib/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698