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

Unified Diff: ui/gfx/native_widget_types.h

Issue 9419010: Fix Mac custom cursor color. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test shell change Created 8 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | webkit/glue/webcursor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_widget_types.h
diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h
index 279175be7328006e390694473b71d1124d9e3f0b..82732e6c285c3f2b09201f6526a3600f328562e7 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -57,6 +57,7 @@ struct IAccessible;
#elif defined(OS_MACOSX)
struct CGContext;
#ifdef __OBJC__
+@class NSCursor;
@class NSEvent;
@class NSFont;
@class NSImage;
@@ -64,6 +65,7 @@ struct CGContext;
@class NSWindow;
@class NSTextField;
#else
+class NSCursor;
class NSEvent;
class NSFont;
class NSImage;
@@ -113,7 +115,7 @@ typedef HWND NativeWindow;
typedef HRGN NativeRegion;
typedef MSG NativeEvent;
#elif defined(OS_MACOSX)
-typedef void* NativeCursor;
+typedef NSCursor* NativeCursor;
typedef NSView* NativeView;
typedef NSWindow* NativeWindow;
typedef NSEvent* NativeEvent;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | webkit/glue/webcursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698