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

Unified Diff: components/exo/wm_helper.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 | « components/exo/pointer.cc ('k') | components/exo/wm_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wm_helper.h
diff --git a/components/exo/wm_helper.h b/components/exo/wm_helper.h
index d68237c54cc2dbf61fd7d276ed827a5119545ade..8ed149ea6dfa1610c71bc094a64e5a363242b7f1 100644
--- a/components/exo/wm_helper.h
+++ b/components/exo/wm_helper.h
@@ -48,7 +48,7 @@ class WMHelper {
class CursorObserver {
public:
virtual void OnCursorVisibilityChanged(bool is_visible) {}
- virtual void OnCursorSetChanged(ui::CursorSetType cursor_set) {}
+ virtual void OnCursorSizeChanged(ui::CursorSize cursor_size) {}
virtual void OnCursorDisplayChanged(const display::Display& display) {}
protected:
@@ -105,7 +105,7 @@ class WMHelper {
virtual aura::Window* GetPrimaryDisplayContainer(int container_id) = 0;
virtual aura::Window* GetActiveWindow() const = 0;
virtual aura::Window* GetFocusedWindow() const = 0;
- virtual ui::CursorSetType GetCursorSet() const = 0;
+ virtual ui::CursorSize GetCursorSize() const = 0;
virtual const display::Display& GetCursorDisplay() const = 0;
virtual void AddPreTargetHandler(ui::EventHandler* handler) = 0;
virtual void PrependPreTargetHandler(ui::EventHandler* handler) = 0;
@@ -122,7 +122,7 @@ class WMHelper {
void NotifyWindowFocused(aura::Window* gained_focus,
aura::Window* lost_focus);
void NotifyCursorVisibilityChanged(bool is_visible);
- void NotifyCursorSetChanged(ui::CursorSetType cursor_set);
+ void NotifyCursorSizeChanged(ui::CursorSize cursor_size);
void NotifyCursorDisplayChanged(const display::Display& display);
void NotifyMaximizeModeStarted();
void NotifyMaximizeModeEnding();
« no previous file with comments | « components/exo/pointer.cc ('k') | components/exo/wm_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698