diff options
Diffstat (limited to 'WebCore/platform/chromium/DragImageRef.h')
-rw-r--r-- | WebCore/platform/chromium/DragImageRef.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/WebCore/platform/chromium/DragImageRef.h b/WebCore/platform/chromium/DragImageRef.h index 53edd4f..a2d7f8d 100644 --- a/WebCore/platform/chromium/DragImageRef.h +++ b/WebCore/platform/chromium/DragImageRef.h @@ -29,11 +29,19 @@ #ifndef DragImageRef_h #define DragImageRef_h +#if OS(DARWIN) +typedef struct CGImage* CGImageRef; +#else +class SkBitmap; +#endif + namespace WebCore { - // FIXME: Need to support image drag-n-drop. For now, we just allow things - // to compile by defining this dummy type. - typedef void* DragImageRef; +#if OS(DARWIN) +typedef CGImageRef DragImageRef; +#else +typedef SkBitmap* DragImageRef; +#endif } // namespace WebCore |