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

Unified Diff: webkit/glue/webcursor.h

Issue 11427: Cursor support including custom cursors (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/webcursor.h
===================================================================
--- webkit/glue/webcursor.h (revision 5577)
+++ webkit/glue/webcursor.h (working copy)
@@ -17,7 +17,13 @@
#elif defined(OS_LINUX)
// GdkCursorType is an enum, which we can't forward-declare. :(
#include <gdk/gdkcursor.h>
+#elif defined(OS_MACOSX)
+#ifdef __OBJC__
+@class NSCursor;
+#else
+class NSCursor;
#endif
+#endif
class Pickle;
@@ -69,6 +75,8 @@
// Return a new GdkCursor* for this cursor. Only valid if GetCursorType
// returns GDK_CURSOR_IS_PIXMAP.
GdkCursor* GetCustomCursor() const;
+#elif defined(OS_MACOSX)
+ NSCursor* GetCursor() const;
darin (slow to review) 2008/11/18 18:16:27 Might be good to document the ownership model here
pink (ping after 24hrs) 2008/11/18 18:28:12 The usual nomenclature for Foundation/ObjC is that
#endif
private:
« no previous file with comments | « webkit/glue/SConscript ('k') | webkit/glue/webcursor.cc » ('j') | webkit/glue/webcursor_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698