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

Unified Diff: services/ui/ws/access_policy.h

Issue 2118383002: mus: Disregard windows that explicitly set can_accept_events to be false when sending events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ordering; etc Created 4 years, 5 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/access_policy.h
diff --git a/services/ui/ws/access_policy.h b/services/ui/ws/access_policy.h
index 638c81e9f6fa61562705628b0fa454d013dfcb40..452f17a9610925d1aa91d1f8d7ea07f9673b7b32 100644
--- a/services/ui/ws/access_policy.h
+++ b/services/ui/ws/access_policy.h
@@ -58,6 +58,7 @@ class AccessPolicy {
virtual bool CanSetFocus(const ServerWindow* window) const = 0;
virtual bool CanSetClientArea(const ServerWindow* window) const = 0;
virtual bool CanSetHitTestMask(const ServerWindow* window) const = 0;
+ virtual bool CanSetAcceptEvents(const ServerWindow* window) const = 0;
// Used for all client controllable cursor properties; which cursor should be
// displayed, visibility, locking, etc.
virtual bool CanSetCursorProperties(const ServerWindow* window) const = 0;

Powered by Google App Engine
This is Rietveld 408576698