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

Unified Diff: components/mus/ws/window_manager_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: rebase 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
« no previous file with comments | « components/mus/ws/window_finder_unittest.cc ('k') | components/mus/ws/window_manager_access_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_manager_access_policy.h
diff --git a/components/mus/ws/window_manager_access_policy.h b/components/mus/ws/window_manager_access_policy.h
index 457fce5b9c48650ec6ee67b1a07df9f412eb510f..33129c2076fb9fc7b2cea943be0622aa7a0de2c6 100644
--- a/components/mus/ws/window_manager_access_policy.h
+++ b/components/mus/ws/window_manager_access_policy.h
@@ -49,6 +49,7 @@ class WindowManagerAccessPolicy : public AccessPolicy {
bool CanSetCapture(const ServerWindow* window) const override;
bool CanSetFocus(const ServerWindow* window) const override;
bool CanSetClientArea(const ServerWindow* window) const override;
+ bool CanSetHitTestMask(const ServerWindow* window) const override;
bool CanSetCursorProperties(const ServerWindow* window) const override;
bool ShouldNotifyOnHierarchyChange(
const ServerWindow* window,
@@ -61,6 +62,7 @@ class WindowManagerAccessPolicy : public AccessPolicy {
private:
bool IsWindowKnown(const ServerWindow* window) const;
+ bool WasCreatedByThisConnection(const ServerWindow* window) const;
ConnectionSpecificId connection_id_ = 0u;
AccessPolicyDelegate* delegate_ = nullptr;
« no previous file with comments | « components/mus/ws/window_finder_unittest.cc ('k') | components/mus/ws/window_manager_access_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698