Changeset 211597 in webkit
- Timestamp:
- Feb 2, 2017 3:03:38 PM (7 years ago)
- Location:
- trunk/Source
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r211596 r211597 1 2017-02-02 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Drag images should be anchored to the mouse location 4 https://bugs.webkit.org/show_bug.cgi?id=167690 5 <rdar://problem/30295261> 6 7 Reviewed by Enrica Casucci. 8 9 Adds logic to compute the mouse anchor point. This is a point in the unit square indicating where the drag 10 origin is relative to the bounds of the drag image. There is no behavior change, since this anchor point is not 11 used by any client yet; this patch only computes and vends this information from WebCore. 12 13 * loader/EmptyClients.cpp: 14 * page/DragClient.h: 15 * page/DragController.cpp: 16 (WebCore::DragController::startDrag): 17 (WebCore::DragController::doImageDrag): 18 (WebCore::DragController::doSystemDrag): 19 * page/DragController.h: 20 * platform/DragImage.h: 21 1 22 2017-02-02 Eric Carlson <eric.carlson@apple.com> 2 23 -
trunk/Source/WebCore/loader/EmptyClients.cpp
r211402 r211597 131 131 DragDestinationAction actionMaskForDrag(const DragData&) final { return DragDestinationActionNone; } 132 132 DragSourceAction dragSourceActionMaskForPoint(const IntPoint&) final { return DragSourceActionNone; } 133 void startDrag(DragImageRef, const IntPoint&, const IntPoint&, DataTransfer&, Frame&, bool) final { }133 void startDrag(DragImageRef, const IntPoint&, const IntPoint&, const FloatPoint&, DataTransfer&, Frame&, bool) final { } 134 134 void dragControllerDestroyed() final { } 135 135 }; -
trunk/Source/WebCore/page/DragClient.h
r208904 r211597 28 28 #include "DragActions.h" 29 29 #include "DragImage.h" 30 #include "FloatPoint.h" 30 31 #include "IntPoint.h" 31 32 … … 47 48 virtual DragSourceAction dragSourceActionMaskForPoint(const IntPoint& rootViewPoint) = 0; 48 49 49 virtual void startDrag(DragImageRef, const IntPoint& dragImageOrigin, const IntPoint& eventPos, DataTransfer&, Frame&, bool linkDrag = false) = 0;50 virtual void startDrag(DragImageRef, const IntPoint& dragImageOrigin, const IntPoint& eventPos, const FloatPoint& dragImageAnchor, DataTransfer&, Frame&, bool linkDrag = false) = 0; 50 51 virtual void dragEnded() { } 51 52 -
trunk/Source/WebCore/page/DragController.cpp
r211377 r211597 33 33 #include "CachedImage.h" 34 34 #include "CachedResourceLoader.h" 35 #include "ClientRect.h" 35 36 #include "DataTransfer.h" 36 37 #include "Document.h" … … 77 78 #include "htmlediting.h" 78 79 #include "markup.h" 80 81 #if ENABLE(DATA_INTERACTION) 82 #include "SelectionRect.h" 83 #endif 84 79 85 #include <wtf/CurrentTime.h> 80 86 #include <wtf/RefPtr.h> … … 811 817 Element& element = *state.source; 812 818 819 IntRect dragImageBounds; 813 820 Image* image = getImage(element); 814 821 if (state.type == DragSourceActionSelection) { … … 818 825 RefPtr<Range> selectionRange = src.selection().toNormalizedRange(); 819 826 ASSERT(selectionRange); 827 828 #if ENABLE(DATA_INTERACTION) 829 Vector<SelectionRect> selectionRects; 830 selectionRange->collectSelectionRects(selectionRects); 831 for (auto selectionRect : selectionRects) 832 dragImageBounds.unite(selectionRect.rect()); 833 dragImageBounds.inflate(SelectionDragImagePadding); 834 #endif 820 835 821 836 src.editor().willWriteSelectionToPasteboard(selectionRange.get()); … … 844 859 return false; 845 860 846 doSystemDrag(dragImage, dragLoc, dragOrigin, d ataTransfer, src, false);861 doSystemDrag(dragImage, dragLoc, dragOrigin, dragImageBounds, dataTransfer, src, false); 847 862 } else if (!src.document()->securityOrigin().canDisplay(linkURL)) { 848 863 src.document()->addConsoleMessage(MessageSource::Security, MessageLevel::Error, "Not allowed to drag local resource: " + linkURL.stringCenterEllipsizedToLength()); … … 867 882 } else { 868 883 // DHTML defined drag image 869 doSystemDrag(dragImage, dragLoc, dragOrigin, dataTransfer, src, false);884 doSystemDrag(dragImage, dragLoc, dragOrigin, { }, dataTransfer, src, false); 870 885 } 871 886 } else if (!linkURL.isEmpty() && (m_dragSourceAction & DragSourceActionLink)) { … … 903 918 dragImage = scaleDragImage(dragImage, FloatSize(m_page.deviceScaleFactor(), m_page.deviceScaleFactor())); 904 919 } 905 doSystemDrag(dragImage, dragLoc, mouseDraggedPoint, dataTransfer, src, true);920 doSystemDrag(dragImage, dragLoc, mouseDraggedPoint, { }, dataTransfer, src, true); 906 921 #if ENABLE(ATTACHMENT_ELEMENT) 907 922 } else if (!attachmentURL.isEmpty() && (m_dragSourceAction & DragSourceActionAttachment)) { … … 919 934 m_dragOffset = IntPoint(dragOrigin.x() - dragLoc.x(), dragOrigin.y() - dragLoc.y()); 920 935 } 921 doSystemDrag(dragImage, dragLoc, dragOrigin, dataTransfer, src, false);936 doSystemDrag(dragImage, dragLoc, dragOrigin, { }, dataTransfer, src, false); 922 937 #endif 923 938 } else if (state.type == DragSourceActionDHTML) { … … 925 940 ASSERT(m_dragSourceAction & DragSourceActionDHTML); 926 941 m_client.willPerformDragSourceAction(DragSourceActionDHTML, dragOrigin, dataTransfer); 927 doSystemDrag(dragImage, dragLoc, dragOrigin, dataTransfer, src, false);942 doSystemDrag(dragImage, dragLoc, dragOrigin, { }, dataTransfer, src, false); 928 943 } else 929 944 startedDrag = false; … … 982 997 983 998 dragImageOffset = mouseDownPoint + scaledOrigin; 984 doSystemDrag(dragImage, dragImageOffset, dragOrigin, dataTransfer, frame, false);999 doSystemDrag(dragImage, dragImageOffset, dragOrigin, element.boundsInRootViewSpace(), dataTransfer, frame, false); 985 1000 986 1001 deleteDragImage(dragImage); 987 1002 } 988 1003 989 void DragController::doSystemDrag(DragImageRef image, const IntPoint& dragLoc, const IntPoint& eventPos, DataTransfer& dataTransfer, Frame& frame, bool forLink) 990 { 1004 void DragController::doSystemDrag(DragImageRef image, const IntPoint& dragLoc, const IntPoint& eventPos, const IntRect& dragImageBounds, DataTransfer& dataTransfer, Frame& frame, bool forLink) 1005 { 1006 FloatPoint dragImageAnchor = { 0.5, 0.5 }; 1007 if (!dragImageBounds.isEmpty()) { 1008 dragImageAnchor.setX((eventPos.x() - dragImageBounds.x()) / (float)dragImageBounds.width()); 1009 dragImageAnchor.setY((eventPos.y() - dragImageBounds.y()) / (float)dragImageBounds.height()); 1010 } 1011 991 1012 m_didInitiateDrag = true; 992 1013 m_dragInitiator = frame.document(); … … 994 1015 Ref<MainFrame> frameProtector(m_page.mainFrame()); 995 1016 RefPtr<FrameView> viewProtector = frameProtector->view(); 996 m_client.startDrag(image, viewProtector->rootViewToContents(frame.view()->contentsToRootView(dragLoc)), 997 viewProtector->rootViewToContents(frame.view()->contentsToRootView(eventPos)), dataTransfer, frameProtector.get(), forLink); 1017 m_client.startDrag(image, viewProtector->rootViewToContents(frame.view()->contentsToRootView(dragLoc)), viewProtector->rootViewToContents(frame.view()->contentsToRootView(eventPos)), dragImageAnchor, dataTransfer, frameProtector.get(), forLink); 998 1018 // DragClient::startDrag can cause our Page to dispear, deallocating |this|. 999 1019 if (!frameProtector->page()) -
trunk/Source/WebCore/page/DragController.h
r208904 r211597 29 29 #include "DragImage.h" 30 30 #include "IntPoint.h" 31 #include "IntRect.h" 31 32 #include "URL.h" 32 33 … … 112 113 113 114 void doImageDrag(Element&, const IntPoint&, const IntRect&, DataTransfer&, Frame&, IntPoint&); 114 void doSystemDrag(DragImageRef, const IntPoint&, const IntPoint&, DataTransfer&, Frame&, bool forLink);115 void doSystemDrag(DragImageRef, const IntPoint&, const IntPoint&, const IntRect& dragImageBounds, DataTransfer&, Frame&, bool forLink); 115 116 void cleanupAfterSystemDrag(); 116 117 void declareAndWriteDragImage(DataTransfer&, Element&, const URL&, const String& label); -
trunk/Source/WebCore/platform/DragImage.h
r204717 r211597 68 68 #endif 69 69 70 #if PLATFORM(COCOA) 71 static const float SelectionDragImagePadding = 15; 72 #endif 73 70 74 IntSize dragImageSize(DragImageRef); 71 75 -
trunk/Source/WebKit/mac/ChangeLog
r211591 r211597 1 2017-02-02 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Drag images should be anchored to the mouse location 4 https://bugs.webkit.org/show_bug.cgi?id=167690 5 <rdar://problem/30295261> 6 7 Reviewed by Enrica Casucci. 8 9 Adds some plumbing for the anchor point in the WK1 client layer. 10 11 * WebCoreSupport/WebDragClient.h: 12 * WebCoreSupport/WebDragClient.mm: 13 (WebDragClient::startDrag): 14 1 15 2017-02-02 Chris Dumez <cdumez@apple.com> 2 16 -
trunk/Source/WebKit/mac/WebCoreSupport/WebDragClient.h
r208904 r211597 38 38 void dragControllerDestroyed() override; 39 39 WebCore::DragSourceAction dragSourceActionMaskForPoint(const WebCore::IntPoint& windowPoint) override; 40 void startDrag(WebCore::DragImageRef, const WebCore::IntPoint& dragPos, const WebCore::IntPoint& eventPos, WebCore::DataTransfer&, WebCore::Frame&, bool linkDrag) override;40 void startDrag(WebCore::DragImageRef, const WebCore::IntPoint& dragPos, const WebCore::IntPoint& eventPos, const WebCore::FloatPoint&, WebCore::DataTransfer&, WebCore::Frame&, bool linkDrag) override; 41 41 void declareAndWriteDragImage(const String& pasteboardName, WebCore::Element&, const WebCore::URL&, const String&, WebCore::Frame*) override; 42 42 #if ENABLE(ATTACHMENT_ELEMENT) -
trunk/Source/WebKit/mac/WebCoreSupport/WebDragClient.mm
r211323 r211597 96 96 } 97 97 98 void WebDragClient::startDrag(DragImageRef dragImage, const IntPoint& at, const IntPoint& eventPos, DataTransfer& dataTransfer, Frame& frame, bool linkDrag)98 void WebDragClient::startDrag(DragImageRef dragImage, const IntPoint& at, const IntPoint& eventPos, const FloatPoint&, DataTransfer& dataTransfer, Frame& frame, bool linkDrag) 99 99 { 100 100 RetainPtr<WebHTMLView> htmlView = (WebHTMLView*)[[kit(&frame) frameView] documentView]; … … 166 166 } 167 167 168 void WebDragClient::startDrag(DragImageRef, const IntPoint&, const IntPoint&, DataTransfer&, Frame&, bool)168 void WebDragClient::startDrag(DragImageRef, const IntPoint&, const IntPoint&, const FloatPoint&, DataTransfer&, Frame&, bool) 169 169 { 170 170 } -
trunk/Source/WebKit/win/ChangeLog
r211584 r211597 1 2017-02-02 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Drag images should be anchored to the mouse location 4 https://bugs.webkit.org/show_bug.cgi?id=167690 5 <rdar://problem/30295261> 6 7 Reviewed by Enrica Casucci. 8 9 Adds some plumbing for the anchor point in the WK1 client layer. 10 11 * WebCoreSupport/WebDragClient.cpp: 12 (WebDragClient::startDrag): 13 * WebCoreSupport/WebDragClient.h: 14 1 15 2017-02-02 Per Arne Vollan <pvollan@apple.com> 2 16 -
trunk/Source/WebKit/win/WebCoreSupport/WebDragClient.cpp
r208904 r211597 111 111 } 112 112 113 void WebDragClient::startDrag(DragImageRef image, const IntPoint& imageOrigin, const IntPoint& dragPoint, DataTransfer& dataTransfer, Frame& frame, bool isLink)113 void WebDragClient::startDrag(DragImageRef image, const IntPoint& imageOrigin, const IntPoint& dragPoint, const FloatPoint&, DataTransfer& dataTransfer, Frame& frame, bool isLink) 114 114 { 115 115 //FIXME: Allow UIDelegate to override behaviour <rdar://problem/5015953> -
trunk/Source/WebKit/win/WebCoreSupport/WebDragClient.h
r208904 r211597 40 40 virtual void willPerformDragDestinationAction(WebCore::DragDestinationAction, const WebCore::DragData&); 41 41 virtual void willPerformDragSourceAction(WebCore::DragSourceAction, const WebCore::IntPoint&, WebCore::DataTransfer&); 42 virtual void startDrag(WebCore::DragImageRef, const WebCore::IntPoint&, const WebCore::IntPoint&, WebCore::DataTransfer&, WebCore::Frame&, bool);42 virtual void startDrag(WebCore::DragImageRef, const WebCore::IntPoint&, const WebCore::IntPoint&, const WebCore::FloatPoint&, WebCore::DataTransfer&, WebCore::Frame&, bool); 43 43 44 44 private: -
trunk/Source/WebKit2/ChangeLog
r211589 r211597 1 2017-02-02 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Drag images should be anchored to the mouse location 4 https://bugs.webkit.org/show_bug.cgi?id=167690 5 <rdar://problem/30295261> 6 7 Reviewed by Enrica Casucci. 8 9 Adds some plumbing for the mouse anchor point in the UI process. Additionally, refactors some unrelated code 10 for handling data interaction. 11 12 * UIProcess/PageClient.h: 13 * UIProcess/WebPageProxy.h: 14 * UIProcess/WebPageProxy.messages.in: 15 * UIProcess/ios/PageClientImplIOS.h: 16 * UIProcess/ios/PageClientImplIOS.mm: 17 (WebKit::PageClientImpl::startDataInteractionWithImage): 18 * UIProcess/ios/WKContentViewInteraction.h: 19 * UIProcess/mac/PageClientImpl.h: 20 * UIProcess/mac/PageClientImpl.mm: 21 (WebKit::PageClientImpl::startDataInteractionWithImage): 22 * UIProcess/mac/WebPageProxyMac.mm: 23 (WebKit::WebPageProxy::setDragImage): 24 * WebProcess/WebCoreSupport/WebDragClient.cpp: 25 (WebKit::WebDragClient::startDrag): 26 * WebProcess/WebCoreSupport/WebDragClient.h: 27 * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: 28 (WebKit::WebDragClient::startDrag): 29 1 30 2017-02-02 Commit Queue <commit-queue@webkit.org> 2 31 -
trunk/Source/WebKit2/UIProcess/PageClient.h
r211199 r211597 384 384 #if ENABLE(DATA_INTERACTION) 385 385 virtual void didPerformDataInteractionControllerOperation() = 0; 386 virtual void startDataInteractionWithImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& image, bool isLink) = 0;386 virtual void startDataInteractionWithImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& image, const WebCore::FloatPoint& anchorPoint, bool isLink) = 0; 387 387 #endif 388 388 }; -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r211376 r211597 836 836 void dragEnded(const WebCore::IntPoint& clientPosition, const WebCore::IntPoint& globalPosition, uint64_t operation); 837 837 #if PLATFORM(COCOA) 838 void setDragImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& dragImageHandle, bool isLinkDrag);838 void setDragImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& dragImageHandle, const WebCore::FloatPoint& dragImageAnchor, bool isLinkDrag); 839 839 void setPromisedDataForImage(const String& pasteboardName, const SharedMemory::Handle& imageHandle, uint64_t imageSize, const String& filename, const String& extension, 840 840 const String& title, const String& url, const String& visibleURL, const SharedMemory::Handle& archiveHandle, uint64_t archiveSize); -
trunk/Source/WebKit2/UIProcess/WebPageProxy.messages.in
r211376 r211597 308 308 #endif 309 309 #if PLATFORM(COCOA) && ENABLE(DRAG_SUPPORT) 310 SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, bool linkDrag)310 SetDragImage(WebCore::IntPoint clientPosition, WebKit::ShareableBitmap::Handle dragImage, WebCore::FloatPoint dragImageAnchor, bool linkDrag) 311 311 SetPromisedDataForImage(String pasteboardName, WebKit::SharedMemory::Handle imageHandle, uint64_t imageSize, String filename, String extension, String title, String url, String visibleURL, WebKit::SharedMemory::Handle archiveHandle, uint64_t archiveSize) 312 312 #if ENABLE(ATTACHMENT_ELEMENT) -
trunk/Source/WebKit2/UIProcess/ios/PageClientImplIOS.h
r211329 r211597 204 204 #if ENABLE(DATA_INTERACTION) 205 205 void didPerformDataInteractionControllerOperation() override; 206 void startDataInteractionWithImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& image, bool isLink) override;206 void startDataInteractionWithImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& image, const WebCore::FloatPoint& anchorPoint, bool isLink) override; 207 207 #endif 208 208 -
trunk/Source/WebKit2/UIProcess/ios/PageClientImplIOS.mm
r211329 r211597 769 769 } 770 770 771 void PageClientImpl::startDataInteractionWithImage(const IntPoint& clientPosition, const ShareableBitmap::Handle& image, bool isLink)772 { 773 [m_contentView _startDataInteractionWithImage:ShareableBitmap::create(image)->makeCGImageCopy() atClientPosition:CGPointMake(clientPosition.x(), clientPosition.y()) isLink:isLink];771 void PageClientImpl::startDataInteractionWithImage(const IntPoint& clientPosition, const ShareableBitmap::Handle& image, const FloatPoint& anchorPoint, bool isLink) 772 { 773 [m_contentView _startDataInteractionWithImage:ShareableBitmap::create(image)->makeCGImageCopy() atClientPosition:CGPointMake(clientPosition.x(), clientPosition.y()) anchorPoint:anchorPoint isLink:isLink]; 774 774 } 775 775 #endif -
trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.h
r211547 r211597 253 253 #if ENABLE(DATA_INTERACTION) 254 254 - (void)_didPerformDataInteractionControllerOperation; 255 - (void)_startDataInteractionWithImage:(RetainPtr<CGImageRef>)image atClientPosition:(CGPoint)clientPosition isLink:(BOOL)isLink;255 - (void)_startDataInteractionWithImage:(RetainPtr<CGImageRef>)image atClientPosition:(CGPoint)clientPosition anchorPoint:(CGPoint)anchorPoint isLink:(BOOL)isLink; 256 256 #endif 257 257 -
trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.h
r211199 r211597 235 235 #if ENABLE(DATA_INTERACTION) 236 236 void didPerformDataInteractionControllerOperation() override; 237 void startDataInteractionWithImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& image, bool isLink) override;237 void startDataInteractionWithImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& image, const WebCore::FloatPoint& anchorPoint, bool isLink) override; 238 238 #endif 239 239 -
trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.mm
r211199 r211597 882 882 } 883 883 884 void PageClientImpl::startDataInteractionWithImage(const IntPoint&, const ShareableBitmap::Handle&, bool)884 void PageClientImpl::startDataInteractionWithImage(const IntPoint&, const ShareableBitmap::Handle&, const FloatPoint&, bool) 885 885 { 886 886 // FIXME: Implement me. -
trunk/Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm
r208415 r211597 270 270 271 271 #if ENABLE(DRAG_SUPPORT) 272 void WebPageProxy::setDragImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& dragImageHandle, bool isLinkDrag)272 void WebPageProxy::setDragImage(const WebCore::IntPoint& clientPosition, const ShareableBitmap::Handle& dragImageHandle, const FloatPoint&, bool isLinkDrag) 273 273 { 274 274 if (auto dragImage = ShareableBitmap::create(dragImageHandle)) -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.cpp
r208904 r211597 58 58 59 59 #if !PLATFORM(COCOA) && !PLATFORM(GTK) 60 void WebDragClient::startDrag(DragImageRef, const IntPoint&, const IntPoint&, DataTransfer&, Frame&, bool)60 void WebDragClient::startDrag(DragImageRef, const IntPoint&, const IntPoint&, const FloatPoint&, DataTransfer&, Frame&, bool) 61 61 { 62 62 } -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.h
r208904 r211597 48 48 WebCore::DragSourceAction dragSourceActionMaskForPoint(const WebCore::IntPoint& windowPoint) override; 49 49 50 void startDrag(WebCore::DragImageRef, const WebCore::IntPoint& dragImageOrigin, const WebCore::IntPoint& eventPos, WebCore::DataTransfer&, WebCore::Frame&, bool linkDrag = false) override;50 void startDrag(WebCore::DragImageRef, const WebCore::IntPoint& dragImageOrigin, const WebCore::IntPoint& eventPos, const WebCore::FloatPoint& dragImageAnchor, WebCore::DataTransfer&, WebCore::Frame&, bool linkDrag = false) override; 51 51 52 52 #if PLATFORM(COCOA) -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp
r206256 r211597 57 57 } 58 58 59 void WebDragClient::startDrag(DragImageRef dragImage, const IntPoint& clientPosition, const IntPoint& globalPosition, DataTransfer& dataTransfer, Frame&, bool)59 void WebDragClient::startDrag(DragImageRef dragImage, const IntPoint& clientPosition, const IntPoint& globalPosition, const FloatPoint&, DataTransfer& dataTransfer, Frame&, bool) 60 60 { 61 61 RefPtr<ShareableBitmap> bitmap = convertCairoSurfaceToShareableBitmap(dragImage); -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebDragClientMac.mm
r211547 r211597 81 81 } 82 82 83 void WebDragClient::startDrag(RetainPtr<NSImage> image, const IntPoint& point, const IntPoint&, DataTransfer&, Frame& frame, bool linkDrag)83 void WebDragClient::startDrag(RetainPtr<NSImage> image, const IntPoint& point, const IntPoint&, const FloatPoint&, DataTransfer&, Frame& frame, bool linkDrag) 84 84 { 85 85 IntSize bitmapSize([image size]); … … 92 92 93 93 // FIXME: Seems this message should be named StartDrag, not SetDragImage. 94 m_page->send(Messages::WebPageProxy::SetDragImage(frame.view()->contentsToWindow(point), handle, linkDrag));94 m_page->send(Messages::WebPageProxy::SetDragImage(frame.view()->contentsToWindow(point), handle, { }, linkDrag)); 95 95 } 96 96
Note: See TracChangeset
for help on using the changeset viewer.