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

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

Issue 2667073002: mash: changes can_accept_events to an enum (Closed)
Patch Set: 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
Index: services/ui/ws/window_manager_access_policy.cc
diff --git a/services/ui/ws/window_manager_access_policy.cc b/services/ui/ws/window_manager_access_policy.cc
index 451fd987e6d50bf9bc783605b0b395355e6c7200..32d9cae10ec068197b360c4ab89d02fa2b8ffbf9 100644
--- a/services/ui/ws/window_manager_access_policy.cc
+++ b/services/ui/ws/window_manager_access_policy.cc
@@ -136,7 +136,7 @@ bool WindowManagerAccessPolicy::CanSetAcceptDrops(
return true;
}
-bool WindowManagerAccessPolicy::CanSetAcceptEvents(
+bool WindowManagerAccessPolicy::CanSetEventTargetingPolicy(
const ServerWindow* window) const {
return WasCreatedByThisClient(window) ||
delegate_->HasRootForAccessPolicy(window);

Powered by Google App Engine
This is Rietveld 408576698