summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/DragData.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/DragData.h')
-rw-r--r--WebCore/platform/DragData.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/platform/DragData.h b/WebCore/platform/DragData.h
index d139352..a1555e3 100644
--- a/WebCore/platform/DragData.h
+++ b/WebCore/platform/DragData.h
@@ -43,7 +43,9 @@ typedef id <NSDraggingInfo> DragDataRef;
typedef void* DragDataRef;
#endif
#elif PLATFORM(QT)
+QT_BEGIN_NAMESPACE
class QMimeData;
+QT_END_NAMESPACE
typedef const QMimeData* DragDataRef;
#elif PLATFORM(WIN)
typedef struct IDataObject* DragDataRef;
@@ -54,6 +56,8 @@ typedef class wxDataObject* DragDataRef;
typedef void* DragDataRef;
#elif defined ANDROID
typedef void* DragDataRef;
+#elif PLATFORM(CHROMIUM)
+#include "DragDataRef.h"
#endif
@@ -84,7 +88,7 @@ namespace WebCore {
const IntPoint& globalPosition() const { return m_globalPosition; }
DragDataRef platformData() const { return m_platformDragData; }
DragOperation draggingSourceOperationMask() const { return m_draggingSourceOperationMask; }
- Clipboard* createClipboard(ClipboardAccessPolicy) const;
+ PassRefPtr<Clipboard> createClipboard(ClipboardAccessPolicy) const;
bool containsURL() const;
bool containsPlainText() const;
bool containsCompatibleContent() const;