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

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

Issue 1465803003: mus: Let clients set the cursor of their window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do it the other way + explicit checks that it is a mouse pointer. Created 5 years 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/test_change_tracker.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 ba1c6b47bead442b263644cbb258eaebe69e2bfd..8781cf5867578b032a006e775487db1d3890e0c7 100644
--- a/components/mus/ws/window_manager_access_policy.h
+++ b/components/mus/ws/window_manager_access_policy.h
@@ -45,6 +45,7 @@ class WindowManagerAccessPolicy : public AccessPolicy {
bool CanSetWindowTextInputState(const ServerWindow* window) const override;
bool CanSetFocus(const ServerWindow* window) const override;
bool CanSetClientArea(const ServerWindow* window) const override;
+ bool CanSetCursorProperties(const ServerWindow* window) const override;
bool ShouldNotifyOnHierarchyChange(
const ServerWindow* window,
const ServerWindow** new_parent,
« no previous file with comments | « components/mus/ws/test_change_tracker.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