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

Unified Diff: components/mus/ws/default_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/connection_manager.cc ('k') | components/mus/ws/default_access_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/default_access_policy.h
diff --git a/components/mus/ws/default_access_policy.h b/components/mus/ws/default_access_policy.h
index f5b766d31211ee47889c41fd16218b7d567de8af..f710f52975c42f9e4b378187103767ad6fde51ed 100644
--- a/components/mus/ws/default_access_policy.h
+++ b/components/mus/ws/default_access_policy.h
@@ -46,6 +46,7 @@ class DefaultAccessPolicy : 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/connection_manager.cc ('k') | components/mus/ws/default_access_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698