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

Side by Side 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, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/native_cursor.h" 5 #include "ui/views/native_cursor.h"
6 6
7 #include "ui/base/cursor/cursor.h" 7 #include "ui/base/cursor/cursor.h"
8 8
9 namespace views { 9 namespace views {
10 10
11 gfx::NativeCursor GetNativeIBeamCursor() { 11 gfx::NativeCursor GetNativeIBeamCursor() {
12 return ui::kCursorIBeam; 12 return ui::CursorType::kIBeam;
13 } 13 }
14 14
15 gfx::NativeCursor GetNativeHandCursor() { 15 gfx::NativeCursor GetNativeHandCursor() {
16 return ui::kCursorHand; 16 return ui::CursorType::kHand;
17 } 17 }
18 18
19 gfx::NativeCursor GetNativeColumnResizeCursor() { 19 gfx::NativeCursor GetNativeColumnResizeCursor() {
20 return ui::kCursorColumnResize; 20 return ui::CursorType::kColumnResize;
21 } 21 }
22 22
23 gfx::NativeCursor GetNativeEastWestResizeCursor() { 23 gfx::NativeCursor GetNativeEastWestResizeCursor() {
24 return ui::kCursorEastWestResize; 24 return ui::CursorType::kEastWestResize;
25 } 25 }
26 26
27 gfx::NativeCursor GetNativeNorthSouthResizeCursor() { 27 gfx::NativeCursor GetNativeNorthSouthResizeCursor() {
28 return ui::kCursorNorthSouthResize; 28 return ui::CursorType::kNorthSouthResize;
29 } 29 }
30 30
31 } // namespace views 31 } // namespace views
OLDNEW
« 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