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

Unified Diff: ui/wm/core/cursor_manager.cc

Issue 2833163002: Change ui cursor identifiers to an enum class. (Closed)
Patch Set: OK, it can't be explicit for mac. Created 3 years, 8 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/wm/core/compound_event_filter.cc ('k') | ui/wm/core/cursor_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/cursor_manager.cc
diff --git a/ui/wm/core/cursor_manager.cc b/ui/wm/core/cursor_manager.cc
index 1c3c6c99a12d50629540067e965465ead39962d7..a411b7837edbd94ec7a5656928c0cbfd58c2e1fa 100644
--- a/ui/wm/core/cursor_manager.cc
+++ b/ui/wm/core/cursor_manager.cc
@@ -22,12 +22,11 @@ namespace internal {
class CursorState {
public:
CursorState()
- : cursor_(ui::kCursorNone),
+ : cursor_(ui::CursorType::kNone),
visible_(true),
cursor_set_(ui::CURSOR_SET_NORMAL),
mouse_events_enabled_(true),
- visible_on_mouse_events_enabled_(true) {
- }
+ visible_on_mouse_events_enabled_(true) {}
gfx::NativeCursor cursor() const { return cursor_; }
void set_cursor(gfx::NativeCursor cursor) { cursor_ = cursor; }
« no previous file with comments | « ui/wm/core/compound_event_filter.cc ('k') | ui/wm/core/cursor_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698