Home
last modified time | relevance | path

Searched refs:dragData (Results 1 – 25 of 36) sorted by relevance

12

/external/webkit/Source/WebCore/page/
DDragController.cpp74 static PlatformMouseEvent createMouseEvent(DragData* dragData) in createMouseEvent() argument
79 return PlatformMouseEvent(dragData->clientPosition(), dragData->globalPosition(), in createMouseEvent()
102 static PassRefPtr<DocumentFragment> documentFragmentFromDragData(DragData* dragData, Frame* frame, … in documentFragmentFromDragData() argument
105 ASSERT(dragData); in documentFragmentFromDragData()
110 if (document && dragData->containsCompatibleContent()) { in documentFragmentFromDragData()
111 …if (PassRefPtr<DocumentFragment> fragment = dragData->asFragment(frame, context, allowPlainText, c… in documentFragmentFromDragData()
114 if (dragData->containsURL(frame, DragData::DoNotConvertFilenames)) { in documentFragmentFromDragData()
116 String url = dragData->asURL(frame, DragData::DoNotConvertFilenames, &title); in documentFragmentFromDragData()
122 if (dragData->containsPlainText()) in documentFragmentFromDragData()
123 title = dragData->asPlainText(frame); in documentFragmentFromDragData()
[all …]
/external/webkit/Source/WebCore/page/mac/
DDragControllerMac.mm45 bool DragController::isCopyKeyDown(DragData* dragData)
47 return dragData->flags() & DragApplicationIsCopyKeyDown;
50 DragOperation DragController::dragOperation(DragData* dragData)
52 ASSERT(dragData);
54 if ((dragData->flags() & DragApplicationIsModal) || !dragData->containsURL(m_page->mainFrame()))
57 …if (!m_documentUnderMouse || (!(dragData->flags() & (DragApplicationHasAttachedSheet | DragApplica…
/external/webkit/Source/WebCore/page/win/
DDragControllerWin.cpp43 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
49 ASSERT(dragData); in dragOperation()
50 return dragData->containsURL(0) && !m_didInitiateDrag ? DragOperationCopy : DragOperationNone; in dragOperation()
/external/webkit/Source/WebCore/page/chromium/
DDragControllerChromium.cpp47 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
53 ASSERT(dragData); in dragOperation()
54 return dragData->containsURL(0) && !m_didInitiateDrag ? DragOperationCopy : DragOperationNone; in dragOperation()
/external/webkit/Source/WebCore/page/efl/
DDragControllerEfl.cpp51 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
53 if (dragData->containsURL(0)) in dragOperation()
/external/webkit/Source/WebCore/page/brew/
DDragControllerBrew.cpp49 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
52 if (dragData->containsURL()) in dragOperation()
/external/webkit/Source/WebCore/page/gtk/
DDragControllerGtk.cpp50 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
53 if (dragData->containsURL(0)) in dragOperation()
/external/webkit/Source/WebCore/page/qt/
DDragControllerQt.cpp51 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
54 if (dragData->containsURL(0)) in dragOperation()
/external/webkit/Source/WebCore/page/wx/
DDragControllerWx.cpp52 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
55 if (dragData->containsURL(0)) in dragOperation()
/external/webkit/Source/WebCore/page/android/
DDragControllerAndroid.cpp40 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
44 if (dragData->containsURL(0)) in dragOperation()
/external/webkit/Source/WebCore/page/haiku/
DDragControllerHaiku.cpp55 DragOperation DragController::dragOperation(DragData* dragData) in dragOperation() argument
58 if (dragData->containsURL()) in dragOperation()
/external/chromium/chrome/browser/resources/bookmark_manager/js/
Dmain.js373 dragData: null, property
389 return this.dragData.elements.every(function(element) {
398 return !!this.dragData && this.dragData.elements.some(function(node) {
415 var dragData = this.dragData;
416 if (!dragData)
422 if (!dragData.sameProfile)
472 if (!this.dragData.sameProfile)
523 if (!this.dragData.sameProfile)
560 if (!this.dragData.sameProfile)
650 if (!this.dragData)
[all …]
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebDragClient.cpp65 DragDestinationAction WebDragClient::actionMaskForDrag(DragData* dragData) in actionMaskForDrag() argument
72 … delegateRef->dragDestinationActionMaskForDraggingInfo(m_webView, dragData->platformData(), &mask); in actionMaskForDrag()
77 …d WebDragClient::willPerformDragDestinationAction(DragDestinationAction action, DragData* dragData) in willPerformDragDestinationAction() argument
83 …erformDragDestinationAction(m_webView, (WebDragDestinationAction)action, dragData->platformData()); in willPerformDragDestinationAction()
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dweb_drop_target.mm86 BookmarkNodeData dragData;
87 if(dragDelegate && dragData.ReadFromDragClipboard())
88 dragDelegate->OnDragEnter(dragData);
147 BookmarkNodeData dragData;
148 if(dragDelegate && dragData.ReadFromDragClipboard())
149 dragDelegate->OnDragOver(dragData);
177 BookmarkNodeData dragData;
178 if(dragDelegate && dragData.ReadFromDragClipboard())
179 dragDelegate->OnDrop(dragData);
/external/webkit/Source/WebKit/chromium/src/
DDragClientImpl.cpp83 WebDragData dragData = static_cast<ClipboardChromium*>(clipboard)->dataObject(); in startDrag() local
90 dragData, static_cast<WebDragOperationsMask>(dragOperationMask), in startDrag()
DWebViewImpl.cpp1833 DragData dragData( in dragTargetDragLeave() local
1839 m_page->dragController()->dragExited(&dragData); in dragTargetDragLeave()
1864 DragData dragData( in dragTargetDrop() local
1870 m_page->dragController()->performDrag(&dragData); in dragTargetDrop()
1882 DragData dragData( in dragTargetDragEnterOrOver() local
1890 dropEffect = m_page->dragController()->dragEntered(&dragData); in dragTargetDragEnterOrOver()
1892 dropEffect = m_page->dragController()->dragUpdated(&dragData); in dragTargetDragEnterOrOver()
1895 if (!(dropEffect & dragData.draggingSourceOperationMask())) in dragTargetDragEnterOrOver()
2191 void WebViewImpl::startDragging(const WebDragData& dragData, in startDragging() argument
2200 m_client->startDragging(dragData, mask, dragImage, dragImageOffset); in startDragging()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
DWebDragClientWin.cpp85 DragData dragData(dataObject.get(), IntPoint(), IntPoint(), DragOperationNone); in startDrag() local
86 …m_page->send(Messages::WebPageProxy::StartDragDrop(imageOrigin, dragPoint, okEffect, dragData.drag… in startDrag()
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebDragClient.mm66 WebCore::DragDestinationAction WebDragClient::actionMaskForDrag(WebCore::DragData* dragData)
68 …ateForwarder] webView:m_webView dragDestinationActionMaskForDraggingInfo:dragData->platformData()];
71 …illPerformDragDestinationAction(WebCore::DragDestinationAction action, WebCore::DragData* dragData)
73 …rmDragDestinationAction:(WebDragDestinationAction)action forDraggingInfo:dragData->platformData()];
/external/webkit/Source/WebKit2/UIProcess/
DWebPageProxy.cpp712 void WebPageProxy::dragEntered(WebCore::DragData* dragData, const String& dragStorageName) in dragEntered() argument
715 …performDragControllerAction(DragControllerActionEntered, dragData, dragStorageName, sandboxExtensi… in dragEntered()
718 void WebPageProxy::dragUpdated(WebCore::DragData* dragData, const String& dragStorageName) in dragUpdated() argument
721 …performDragControllerAction(DragControllerActionUpdated, dragData, dragStorageName, sandboxExtensi… in dragUpdated()
724 void WebPageProxy::dragExited(WebCore::DragData* dragData, const String& dragStorageName) in dragExited() argument
727 …performDragControllerAction(DragControllerActionExited, dragData, dragStorageName, sandboxExtensio… in dragExited()
730 void WebPageProxy::performDrag(WebCore::DragData* dragData, const String& dragStorageName, const Sa… in performDrag() argument
732 …performDragControllerAction(DragControllerActionPerformDrag, dragData, dragStorageName, sandboxExt… in performDrag()
735 …ormDragControllerAction(DragControllerAction action, WebCore::DragData* dragData, const String& dr… in performDragControllerAction() argument
741 …nd(Messages::WebPage::PerformDragControllerAction(action, dragData->clientPosition(), dragData->gl… in performDragControllerAction()
[all …]
/external/webkit/Source/WebCore/platform/gtk/
DClipboardGtk.cpp54 PassRefPtr<Clipboard> Clipboard::create(ClipboardAccessPolicy policy, DragData* dragData, Frame* fr… in create() argument
56 return ClipboardGtk::create(policy, dragData->platformData(), DragAndDrop, frame); in create()
/external/webkit/Source/WebCore/platform/qt/
DClipboardQt.cpp73 PassRefPtr<Clipboard> Clipboard::create(ClipboardAccessPolicy policy, DragData* dragData, Frame*) in create() argument
75 return ClipboardQt::create(policy, dragData->platformData()); in create()
/external/webkit/Source/WebCore/platform/chromium/
DClipboardChromium.cpp68 PassRefPtr<Clipboard> Clipboard::create(ClipboardAccessPolicy policy, DragData* dragData, Frame* fr… in create() argument
70 return ClipboardChromium::create(DragAndDrop, dragData->platformData(), policy, frame); in create()
/external/webkit/Source/WebCore/platform/win/
DClipboardWin.cpp341 PassRefPtr<Clipboard> Clipboard::create(ClipboardAccessPolicy policy, DragData* dragData, Frame* fr… in create() argument
343 if (dragData->platformData()) in create()
344 return ClipboardWin::create(DragAndDrop, dragData->platformData(), policy, frame); in create()
345 return ClipboardWin::create(DragAndDrop, dragData->dragDataMap(), policy, frame); in create()
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebPage.cpp1524 …DragData dragData(dataMap, clientPosition, globalPosition, static_cast<DragOperation>(draggingSour… in performDragControllerAction() local
1527 …s::WebPageProxy::DidPerformDragControllerAction(m_page->dragController()->dragEntered(&dragData))); in performDragControllerAction()
1531 …s::WebPageProxy::DidPerformDragControllerAction(m_page->dragController()->dragUpdated(&dragData))); in performDragControllerAction()
1535 m_page->dragController()->dragExited(&dragData); in performDragControllerAction()
1539 m_page->dragController()->performDrag(&dragData); in performDragControllerAction()
1554 …DragData dragData(dragStorageName, clientPosition, globalPosition, static_cast<DragOperation>(drag… in performDragControllerAction() local
1557 …s::WebPageProxy::DidPerformDragControllerAction(m_page->dragController()->dragEntered(&dragData))); in performDragControllerAction()
1561 …s::WebPageProxy::DidPerformDragControllerAction(m_page->dragController()->dragUpdated(&dragData))); in performDragControllerAction()
1565 m_page->dragController()->dragExited(&dragData); in performDragControllerAction()
1573 m_page->dragController()->performDrag(&dragData); in performDragControllerAction()
/external/webkit/Tools/DumpRenderTree/chromium/
DEventSender.cpp333 void EventSender::doDragDrop(const WebDragData& dragData, WebDragOperationsMask mask) in doDragDrop() argument
339 currentDragData = dragData; in doDragDrop()
341 …currentDragEffect = webview()->dragTargetDragEnter(dragData, clientPoint, screenPoint, currentDrag… in doDragDrop()

12