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

Unified Diff: ui/aura/mus/window_manager_delegate.h

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 6 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 | « ui/aura/client/cursor_client_observer.h ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_manager_delegate.h
diff --git a/ui/aura/mus/window_manager_delegate.h b/ui/aura/mus/window_manager_delegate.h
index 8ba30ad21fbf8c663eb0257fb78c9bff0c2baa6a..a8056cf2362294da825e0e636afbb89ddea7b925 100644
--- a/ui/aura/mus/window_manager_delegate.h
+++ b/ui/aura/mus/window_manager_delegate.h
@@ -70,6 +70,9 @@ class AURA_EXPORT WindowManagerClient {
// Globally shows or hides the cursor.
virtual void SetCursorVisible(bool visible) = 0;
+ // Globally sets whether we use normal or large cursors.
+ virtual void SetCursorSize(ui::CursorSize cursor_size) = 0;
+
// Sets a cursor which is used instead of the per window cursors. Pass a
// nullopt in |cursor| to clear the override.
virtual void SetGlobalOverrideCursor(
« no previous file with comments | « ui/aura/client/cursor_client_observer.h ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698