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

Unified Diff: components/view_manager/access_policy.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/html_viewer/html_frame_apptest.cc ('k') | components/view_manager/default_access_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/access_policy.h
diff --git a/components/view_manager/access_policy.h b/components/view_manager/access_policy.h
index 9927d5f4019b72224e650184e7c34b9656f39bba..196e7f6ca8c13a6663d45a1199483d7d8a28b67b 100644
--- a/components/view_manager/access_policy.h
+++ b/components/view_manager/access_policy.h
@@ -39,6 +39,7 @@ class AccessPolicy {
virtual bool CanSetViewProperties(const ServerView* view) const = 0;
virtual bool CanSetViewTextInputState(const ServerView* view) const = 0;
virtual bool CanSetFocus(const ServerView* view) const = 0;
+ virtual bool CanSetAccessPolicy(const ServerView* view) const = 0;
// Returns whether the connection should notify on a hierarchy change.
// |new_parent| and |old_parent| are initially set to the new and old parents
« no previous file with comments | « components/html_viewer/html_frame_apptest.cc ('k') | components/view_manager/default_access_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698