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

Side by Side Diff: webkit/glue/webcursor.h

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « webkit/glue/webclipboard_impl.cc ('k') | webkit/glue/webcursor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/gfx/point.h" 9 #include "base/gfx/point.h"
10 #include "base/gfx/size.h" 10 #include "base/gfx/size.h"
11 11
12 #include <vector> 12 #include <vector>
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 typedef struct HINSTANCE__* HINSTANCE; 15 typedef struct HINSTANCE__* HINSTANCE;
16 typedef struct HICON__* HICON; 16 typedef struct HICON__* HICON;
17 typedef HICON HCURSOR; 17 typedef HICON HCURSOR;
18 #elif defined(USE_X11) 18 #elif defined(USE_X11)
19 // GdkCursorType is an enum, which we can't forward-declare. :( 19 // GdkCursorType is an enum, which we can't forward-declare. :(
20 // If you work around this, be sure to fix webkit.gyp:glue to not put 20 // If you work around this, be sure to fix webkit_glue.gyp:glue to not put
21 // GTK in the export_dependent_settings section! 21 // GTK in the export_dependent_settings section!
22 #include <gdk/gdkcursor.h> 22 #include <gdk/gdkcursor.h>
23 #elif defined(OS_MACOSX) 23 #elif defined(OS_MACOSX)
24 #ifdef __OBJC__ 24 #ifdef __OBJC__
25 @class NSCursor; 25 @class NSCursor;
26 #else 26 #else
27 class NSCursor; 27 class NSCursor;
28 #endif 28 #endif
29 #endif 29 #endif
30 30
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 #if defined(OS_WIN) 130 #if defined(OS_WIN)
131 // An externally generated HCURSOR. We assume that it remains valid, i.e we 131 // An externally generated HCURSOR. We assume that it remains valid, i.e we
132 // don't attempt to copy the HCURSOR. 132 // don't attempt to copy the HCURSOR.
133 HCURSOR external_cursor_; 133 HCURSOR external_cursor_;
134 // A custom cursor created from custom bitmap data by Webkit. 134 // A custom cursor created from custom bitmap data by Webkit.
135 HCURSOR custom_cursor_; 135 HCURSOR custom_cursor_;
136 #endif // OS_WIN 136 #endif // OS_WIN
137 }; 137 };
138 138
139 #endif // WEBKIT_GLUE_WEBCURSOR_H_ 139 #endif // WEBKIT_GLUE_WEBCURSOR_H_
OLDNEW
« no previous file with comments | « webkit/glue/webclipboard_impl.cc ('k') | webkit/glue/webcursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698