diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.h')
-rw-r--r-- | Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.h b/Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.h index 1117d75ef..a96ee8162 100644 --- a/Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.h +++ b/Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.h @@ -42,18 +42,21 @@ public: } private: - virtual void willPerformDragDestinationAction(WebCore::DragDestinationAction, WebCore::DragData&) override; - virtual void willPerformDragSourceAction(WebCore::DragSourceAction, const WebCore::IntPoint&, WebCore::Clipboard&) override; - virtual WebCore::DragDestinationAction actionMaskForDrag(WebCore::DragData&) override; - virtual WebCore::DragSourceAction dragSourceActionMaskForPoint(const WebCore::IntPoint& windowPoint) override; + void willPerformDragDestinationAction(WebCore::DragDestinationAction, const WebCore::DragData&) override; + void willPerformDragSourceAction(WebCore::DragSourceAction, const WebCore::IntPoint&, WebCore::DataTransfer&) override; + WebCore::DragDestinationAction actionMaskForDrag(const WebCore::DragData&) override; + WebCore::DragSourceAction dragSourceActionMaskForPoint(const WebCore::IntPoint& windowPoint) override; - virtual void startDrag(WebCore::DragImageRef, const WebCore::IntPoint& dragImageOrigin, const WebCore::IntPoint& eventPos, WebCore::Clipboard&, WebCore::Frame&, bool linkDrag = false) override; + void startDrag(WebCore::DragImage, const WebCore::IntPoint& dragImageOrigin, const WebCore::IntPoint& eventPos, const WebCore::FloatPoint& dragImageAnchor, WebCore::DataTransfer&, WebCore::Frame&, WebCore::DragSourceAction) override; -#if PLATFORM(MAC) - virtual void declareAndWriteDragImage(const String& pasteboardName, WebCore::Element&, const WebCore::URL&, const String&, WebCore::Frame*) override; +#if PLATFORM(COCOA) + void declareAndWriteDragImage(const String& pasteboardName, WebCore::Element&, const WebCore::URL&, const String&, WebCore::Frame*) override; +#if ENABLE(ATTACHMENT_ELEMENT) + void declareAndWriteAttachment(const String& pasteboardName, WebCore::Element&, const WebCore::URL&, const String& path, WebCore::Frame*) override; +#endif #endif - virtual void dragControllerDestroyed() override; + void dragControllerDestroyed() override; WebPage* m_page; }; |