OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBCURSOR_H_ | 5 #ifndef WEBKIT_GLUE_WEBCURSOR_H_ |
6 #define WEBKIT_GLUE_WEBCURSOR_H_ | 6 #define WEBKIT_GLUE_WEBCURSOR_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 #include "gfx/point.h" | 10 #include "ui/gfx/point.h" |
11 #include "gfx/size.h" | 11 #include "ui/gfx/size.h" |
12 | 12 |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
16 typedef struct HINSTANCE__* HINSTANCE; | 16 typedef struct HINSTANCE__* HINSTANCE; |
17 typedef struct HICON__* HICON; | 17 typedef struct HICON__* HICON; |
18 typedef HICON HCURSOR; | 18 typedef HICON HCURSOR; |
19 #elif defined(USE_X11) | 19 #elif defined(USE_X11) |
20 typedef struct _GdkCursor GdkCursor; | 20 typedef struct _GdkCursor GdkCursor; |
21 #elif defined(OS_MACOSX) | 21 #elif defined(OS_MACOSX) |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 HCURSOR custom_cursor_; | 152 HCURSOR custom_cursor_; |
153 #endif // OS_WIN | 153 #endif // OS_WIN |
154 | 154 |
155 #if defined(USE_X11) | 155 #if defined(USE_X11) |
156 // A custom cursor created that should be unref'ed from the destructor. | 156 // A custom cursor created that should be unref'ed from the destructor. |
157 GdkCursor* unref_; | 157 GdkCursor* unref_; |
158 #endif | 158 #endif |
159 }; | 159 }; |
160 | 160 |
161 #endif // WEBKIT_GLUE_WEBCURSOR_H_ | 161 #endif // WEBKIT_GLUE_WEBCURSOR_H_ |
OLD | NEW |