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

Unified Diff: services/ui/ws/default_access_policy.cc

Issue 2667073002: mash: changes can_accept_events to an enum (Closed)
Patch Set: merge Created 3 years, 11 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 | « services/ui/ws/default_access_policy.h ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/default_access_policy.cc
diff --git a/services/ui/ws/default_access_policy.cc b/services/ui/ws/default_access_policy.cc
index 689108d33cba2849eebaaaed7e984290687e0e97..b9c86581cdc264dbc41980bc1eb611d04cbf4c8a 100644
--- a/services/ui/ws/default_access_policy.cc
+++ b/services/ui/ws/default_access_policy.cc
@@ -151,7 +151,8 @@ bool DefaultAccessPolicy::CanSetAcceptDrops(const ServerWindow* window) const {
delegate_->HasRootForAccessPolicy(window);
}
-bool DefaultAccessPolicy::CanSetAcceptEvents(const ServerWindow* window) const {
+bool DefaultAccessPolicy::CanSetEventTargetingPolicy(
+ const ServerWindow* window) const {
return WasCreatedByThisClient(window) ||
delegate_->HasRootForAccessPolicy(window);
}
« no previous file with comments | « services/ui/ws/default_access_policy.h ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698