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

Unified Diff: components/mus/ws/access_policy.h

Issue 1991973003: mash: Preliminary support for widget hit test masks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug link for SkPath conversion Created 4 years, 7 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: components/mus/ws/access_policy.h
diff --git a/components/mus/ws/access_policy.h b/components/mus/ws/access_policy.h
index 123611bad26013470b6140214cd68432156d96b8..dfdcc7441857dcb7161f2c3413f31bd00726d4d1 100644
--- a/components/mus/ws/access_policy.h
+++ b/components/mus/ws/access_policy.h
@@ -57,6 +57,7 @@ class AccessPolicy {
virtual bool CanSetCapture(const ServerWindow* window) const = 0;
virtual bool CanSetFocus(const ServerWindow* window) const = 0;
virtual bool CanSetClientArea(const ServerWindow* window) const = 0;
+ virtual bool CanSetHitTestMask(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