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

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

Issue 2833163002: Change ui cursor identifiers to an enum class. (Closed)
Patch Set: Remove extranious ::ui:: 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
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..3284abc4523aff2a82111bf52c70875336c6ea74 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::NONE),
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; }

Powered by Google App Engine
This is Rietveld 408576698