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

Unified Diff: ui/views/native_cursor_aura.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/views/native_cursor_aura.cc
diff --git a/ui/views/native_cursor_aura.cc b/ui/views/native_cursor_aura.cc
index cafe684aa0b4f4e76ce383b2facfcde07288da80..a9ff8696e888d7500f5e685c1bee85c081f61f61 100644
--- a/ui/views/native_cursor_aura.cc
+++ b/ui/views/native_cursor_aura.cc
@@ -9,23 +9,23 @@
namespace views {
gfx::NativeCursor GetNativeIBeamCursor() {
- return ui::kCursorIBeam;
+ return ui::CursorType::IBEAM;
}
gfx::NativeCursor GetNativeHandCursor() {
- return ui::kCursorHand;
+ return ui::CursorType::HAND;
}
gfx::NativeCursor GetNativeColumnResizeCursor() {
- return ui::kCursorColumnResize;
+ return ui::CursorType::COLUMN_RESIZE;
}
gfx::NativeCursor GetNativeEastWestResizeCursor() {
- return ui::kCursorEastWestResize;
+ return ui::CursorType::EAST_WEST_RESIZE;
}
gfx::NativeCursor GetNativeNorthSouthResizeCursor() {
- return ui::kCursorNorthSouthResize;
+ return ui::CursorType::NORTH_SOUTH_RESIZE;
}
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698