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

Unified Diff: ui/views/native_cursor_aura.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
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..0ce238b1c0c56683a989538be0e0afeb72ef2b48 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::kIBeam;
}
gfx::NativeCursor GetNativeHandCursor() {
- return ui::kCursorHand;
+ return ui::CursorType::kHand;
}
gfx::NativeCursor GetNativeColumnResizeCursor() {
- return ui::kCursorColumnResize;
+ return ui::CursorType::kColumnResize;
}
gfx::NativeCursor GetNativeEastWestResizeCursor() {
- return ui::kCursorEastWestResize;
+ return ui::CursorType::kEastWestResize;
}
gfx::NativeCursor GetNativeNorthSouthResizeCursor() {
- return ui::kCursorNorthSouthResize;
+ return ui::CursorType::kNorthSouthResize;
}
} // namespace views
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698