OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_BASE_CURSOR_CURSOR_H_ | 5 #ifndef UI_BASE_CURSOR_CURSOR_H_ |
6 #define UI_BASE_CURSOR_CURSOR_H_ | 6 #define UI_BASE_CURSOR_CURSOR_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ui/base/ui_base_export.h" | 9 #include "ui/base/ui_base_export.h" |
10 | 10 |
11 namespace gfx { | |
12 class Point; | |
13 class Size; | |
14 } | |
15 | |
16 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
17 typedef struct HINSTANCE__* HINSTANCE; | 12 typedef struct HINSTANCE__* HINSTANCE; |
18 typedef struct HICON__* HICON; | 13 typedef struct HICON__* HICON; |
19 typedef HICON HCURSOR; | 14 typedef HICON HCURSOR; |
20 #endif | 15 #endif |
21 | 16 |
22 namespace ui { | 17 namespace ui { |
23 | 18 |
24 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
25 typedef ::HCURSOR PlatformCursor; | 20 typedef ::HCURSOR PlatformCursor; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 134 |
140 PlatformCursor platform_cursor_; | 135 PlatformCursor platform_cursor_; |
141 | 136 |
142 // The device scale factor for the cursor. | 137 // The device scale factor for the cursor. |
143 float device_scale_factor_; | 138 float device_scale_factor_; |
144 }; | 139 }; |
145 | 140 |
146 } // namespace ui | 141 } // namespace ui |
147 | 142 |
148 #endif // UI_BASE_CURSOR_CURSOR_H_ | 143 #endif // UI_BASE_CURSOR_CURSOR_H_ |
OLD | NEW |