Chromium Code Reviews| 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: |