Home | History | Annotate | Download | only in page

Lines Matching defs:dragLocation

802 static PassOwnPtr<DragImage> dragImageForImage(Element* element, Image* image, const IntPoint& dragOrigin, const IntRect& imageRect, IntPoint& dragLocation)
826 dragLocation = dragOrigin + origin;
862 IntPoint dragLocation;
870 dragLocation = dragLocationForDHTMLDrag(mouseDraggedPoint, dragOrigin, dragOffset, !linkURL.isEmpty());
879 dragLocation = dragLocationForSelectionDrag(src);
881 doSystemDrag(dragImage.get(), dragLocation, dragOrigin, clipboard, src, false);
893 dragImage = dragImageForImage(element, image, dragOrigin, hitTestResult.imageRect(), dragLocation);
895 doSystemDrag(dragImage.get(), dragLocation, dragOrigin, clipboard, src, false);
910 dragImage = dragImageForLink(linkURL, hitTestResult.textContent(), deviceScaleFactor, mouseDraggedPoint, dragLocation);
912 doSystemDrag(dragImage.get(), dragLocation, mouseDraggedPoint, clipboard, src, true);
916 doSystemDrag(dragImage.get(), dragLocation, dragOrigin, clipboard, src, false);
925 void DragController::doSystemDrag(DragImage* image, const IntPoint& dragLocation, const IntPoint& eventPos, Clipboard* clipboard, LocalFrame* frame, bool forLink)
932 m_client->startDrag(image, viewProtector->rootViewToContents(frame->view()->contentsToRootView(dragLocation)),