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 CONTENT_COMMON_CURSORS_WEBCURSOR_H_ | 5 #ifndef CONTENT_COMMON_CURSORS_WEBCURSOR_H_ |
6 #define CONTENT_COMMON_CURSORS_WEBCURSOR_H_ | 6 #define CONTENT_COMMON_CURSORS_WEBCURSOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 12 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
13 #include "ui/gfx/display.h" | 13 #include "ui/gfx/display.h" |
| 14 #include "ui/gfx/geometry/point.h" |
14 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
15 #include "ui/gfx/point.h" | |
16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/size.h" |
17 | 17 |
18 #if defined(USE_AURA) | 18 #if defined(USE_AURA) |
19 #include "ui/base/cursor/cursor.h" | 19 #include "ui/base/cursor/cursor.h" |
20 #endif | 20 #endif |
21 | 21 |
22 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
23 typedef struct HINSTANCE__* HINSTANCE; | 23 typedef struct HINSTANCE__* HINSTANCE; |
24 typedef struct HICON__* HICON; | 24 typedef struct HICON__* HICON; |
25 typedef HICON HCURSOR; | 25 typedef HICON HCURSOR; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 gfx::Display::Rotation rotation_; | 175 gfx::Display::Rotation rotation_; |
176 #elif defined(OS_WIN) | 176 #elif defined(OS_WIN) |
177 // A custom cursor created from custom bitmap data by Webkit. | 177 // A custom cursor created from custom bitmap data by Webkit. |
178 HCURSOR custom_cursor_; | 178 HCURSOR custom_cursor_; |
179 #endif | 179 #endif |
180 }; | 180 }; |
181 | 181 |
182 } // namespace content | 182 } // namespace content |
183 | 183 |
184 #endif // CONTENT_COMMON_CURSORS_WEBCURSOR_H_ | 184 #endif // CONTENT_COMMON_CURSORS_WEBCURSOR_H_ |
OLD | NEW |