OLD | NEW |
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 |
OLD | NEW |