Index: Source/core/page/DragController.h |
diff --git a/Source/core/page/DragController.h b/Source/core/page/DragController.h |
index e3132acbd6d6adcc7faeed8aef4cd882e897d44f..62a0826f530c33a7121aabb07948203f0960969b 100644 |
--- a/Source/core/page/DragController.h |
+++ b/Source/core/page/DragController.h |
@@ -27,9 +27,9 @@ |
#define DragController_h |
#include "core/page/DragActions.h" |
-#include "core/platform/DragImage.h" |
#include "core/platform/graphics/IntPoint.h" |
#include "weborigin/KURL.h" |
+#include "wtf/Forward.h" |
namespace WebCore { |
@@ -37,6 +37,7 @@ namespace WebCore { |
class Document; |
class DragClient; |
class DragData; |
+ class DragImage; |
struct DragSession; |
struct DragState; |
class Element; |
@@ -49,7 +50,7 @@ namespace WebCore { |
class Page; |
class PlatformMouseEvent; |
class Range; |
- |
+ |
class DragController { |
WTF_MAKE_NONCOPYABLE(DragController); WTF_MAKE_FAST_ALLOCATED; |
public: |
@@ -110,9 +111,9 @@ namespace WebCore { |
void mouseMovedIntoDocument(Document*); |
IntRect selectionDraggingRect(Frame*); |
- bool doDrag(Frame* src, Clipboard* clipboard, DragImageRef dragImage, const KURL& linkURL, const KURL& imageURL, Node* node, IntPoint& dragLoc, IntPoint& dragImageOffset); |
+ bool doDrag(Frame* src, Clipboard*, DragImage*, const KURL& linkURL, const KURL& imageURL, Node*, IntPoint& dragLoc, IntPoint& dragImageOffset); |
void doImageDrag(Element*, const IntPoint&, const IntRect&, Clipboard*, Frame*, IntPoint&); |
- void doSystemDrag(DragImageRef, const IntPoint&, const IntPoint&, Clipboard*, Frame*, bool forLink); |
+ void doSystemDrag(DragImage*, const IntPoint&, const IntPoint&, Clipboard*, Frame*, bool forLink); |
void cleanupAfterSystemDrag(); |
Page* m_page; |