/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
D | file_transfer_controller.js | 182 cutOrCopy_: function(dataTransfer, effectAllowed) { argument 187 dataTransfer.setData('fs/tag', 'filemanager-data'); 188 dataTransfer.setData('fs/sourceRootURL', 191 dataTransfer.setData('fs/sources', sourceURLs.join('\n')); 192 dataTransfer.effectAllowed = effectAllowed; 193 dataTransfer.setData('fs/effectallowed', effectAllowed); 194 dataTransfer.setData('fs/missingFileContents', 198 dataTransfer.items.add(this.selectedFileObjects_[i]); 226 getSourceRootURL_: function(dataTransfer) { argument 227 var sourceRootURL = dataTransfer.getData('fs/sourceRootURL'); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DragController.cpp | 221 … RefPtrWillBeRawPtr<DataTransfer> dataTransfer = createDraggingDataTransfer(policy, dragData); in dragExited() local 222 dataTransfer->setSourceOperation(dragData->draggingSourceOperationMask()); in dragExited() 223 mainFrame->eventHandler().cancelDragAndDrop(createMouseEvent(dragData), dataTransfer.get()); in dragExited() 224 dataTransfer->setAccessPolicy(DataTransferNumb); // invalidate clipboard here for security in dragExited() 246 …RefPtrWillBeRawPtr<DataTransfer> dataTransfer = createDraggingDataTransfer(DataTransferReadable, d… in performDrag() local 247 dataTransfer->setSourceOperation(dragData->draggingSourceOperationMask()); in performDrag() 248 …ult = mainFrame->eventHandler().performDragAndDrop(createMouseEvent(dragData), dataTransfer.get()); in performDrag() 249 … dataTransfer->setAccessPolicy(DataTransferNumb); // Invalidate clipboard here for security in performDrag() 599 RefPtrWillBeRawPtr<DataTransfer> dataTransfer = createDraggingDataTransfer(policy, dragData); in tryDHTMLDrag() local 601 dataTransfer->setSourceOperation(srcOpMask); in tryDHTMLDrag() [all …]
|
D | EventHandler.cpp | 1612 …icString& eventType, Node* dragTarget, const PlatformMouseEvent& event, DataTransfer* dataTransfer) in dispatchDragEvent() argument 1625 0, nullptr, dataTransfer); in dispatchDragEvent() 1644 static bool findDropZone(Node* target, DataTransfer* dataTransfer) in findDropZone() argument 1669 matched = matched || dataTransfer->hasDropZoneType(keywords[i].string()); in findDropZone() 1676 dataTransfer->setDropEffect(convertDragOperationToDropZoneOperation(dragOperation)); in findDropZone() 1683 bool EventHandler::updateDragAndDrop(const PlatformMouseEvent& event, DataTransfer* dataTransfer) in updateDragAndDrop() argument 1710 accept = targetFrame->eventHandler().updateDragAndDrop(event, dataTransfer); in updateDragAndDrop() 1717 … accept = dispatchDragEvent(EventTypeNames::dragenter, newTarget.get(), event, dataTransfer); in updateDragAndDrop() 1719 accept = findDropZone(newTarget.get(), dataTransfer); in updateDragAndDrop() 1724 accept = targetFrame->eventHandler().updateDragAndDrop(event, dataTransfer); in updateDragAndDrop() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/clipboard/ |
D | DataTransferItem.cpp | 44 …erItem> DataTransferItem::create(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassRefPtrWill… in create() argument 46 return adoptRefWillBeNoop(new DataTransferItem(dataTransfer, item)); in create() 90 DataTransferItem::DataTransferItem(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassRefPtrWil… in DataTransferItem() argument 91 : m_dataTransfer(dataTransfer) in DataTransferItem()
|
D | DataTransferItemList.cpp | 40 …st> DataTransferItemList::create(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassRefPtrWill… in create() argument 42 return adoptRefWillBeNoop(new DataTransferItemList(dataTransfer, list)); in create() 101 DataTransferItemList::DataTransferItemList(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassR… in DataTransferItemList() argument 102 : m_dataTransfer(dataTransfer) in DataTransferItemList()
|
D | DataTransferItem.h | 61 DataTransfer* dataTransfer() { return m_dataTransfer.get(); } in dataTransfer() function
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
D | apps_page.js | 515 setDragData: function(dataTransfer) { argument 516 dataTransfer.setData('Text', this.appData_.title); 517 dataTransfer.setData('URL', this.appData_.url); 642 this.setDropEffect(e.dataTransfer); 650 if (!e.dataTransfer || !e.dataTransfer.types) 652 return Array.prototype.indexOf.call(e.dataTransfer.types, 657 addDragData: function(dataTransfer, index) { argument 679 this.addOutsideData_(dataTransfer); 694 addOutsideData_: function(dataTransfer) { argument 695 var url = dataTransfer.getData('url'); [all …]
|
D | tile_page.js | 29 function setCurrentDropEffect(dataTransfer, effect) { argument 30 dataTransfer.dropEffect = effect; 32 currentlyDraggingTile.lastDropEffect = dataTransfer.dropEffect; 113 e.dataTransfer.effectAllowed = 'copyMove'; 114 this.firstChild.setDragData(e.dataTransfer); 1254 this.setDropEffect(e.dataTransfer); 1282 this.addDragData(e.dataTransfer, adjustedIndex); 1374 addDragData: function(dataTransfer, index) { argument 1392 setDropEffect: function(dataTransfer) { argument
|
D | nav_dot.js | 220 ntp.setCurrentDropEffect(e.dataTransfer, 'none'); 222 this.page_.setDropEffect(e.dataTransfer);
|
D | suggestions_page.js | 245 setDragData: function(dataTransfer) { argument 246 dataTransfer.setData('Text', this.data_.title); 247 dataTransfer.setData('URL', this.data_.url);
|
D | most_visited_page.js | 265 setDragData: function(dataTransfer) { argument 266 dataTransfer.setData('Text', this.data_.title); 267 dataTransfer.setData('URL', this.data_.url);
|
D | trash.js | 46 ntp.setCurrentDropEffect(e.dataTransfer, 'move');
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
D | import_view.js | 84 return indexOf.call(event.dataTransfer.types, 'Files') == -1 || 85 event.dataTransfer.files.length > 1; 94 if (indexOf.call(event.dataTransfer.types, 'Files') == -1 || 95 event.dataTransfer.files.length != 1) { 104 this.loadLogFile(event.dataTransfer.files[0]);
|
/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/ |
D | example.js | 24 if (!dropEvent.dataTransfer || !dropEvent.dataTransfer.files) 28 var files = dropEvent.dataTransfer.files;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | DragClientImpl.cpp | 61 …st IntPoint& dragImageOrigin, const IntPoint& eventPos, DataTransfer* dataTransfer, LocalFrame* fr… in startDrag() argument 66 WebDragData dragData(dataTransfer->dataObject()); in startDrag() 67 …WebDragOperationsMask dragOperationMask = static_cast<WebDragOperationsMask>(dataTransfer->sourceO… in startDrag()
|
/external/chromium_org/chrome/browser/resources/extensions/ |
D | extensions.js | 47 return (e.dataTransfer.types && 48 e.dataTransfer.types.indexOf('Files') > -1); 68 if (e.dataTransfer.files.length != 1) 74 for (var i = 0; i < e.dataTransfer.items.length; ++i) { 75 if (e.dataTransfer.items[i].kind == 'file' && 76 e.dataTransfer.items[i].webkitGetAsEntry().isDirectory) { 84 /\.(crx|user\.js|zip)$/i.test(e.dataTransfer.files[0].name)) {
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
D | ClipboardEvent.h | 37 …icString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer) in create() argument 39 return adoptRefWillBeNoop(new ClipboardEvent(type, canBubble, cancelable, dataTransfer)); in create()
|
D | MouseEvent.cpp | 72 …wPtr<EventTarget> relatedTarget, PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, bool isSimulat… in create() argument 77 …ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget, dataTransfer, isSimulated, syntheticEve… in create() 91 …PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, bool isSimulated, PlatformMouseEvent::Synthetic… in MouseEvent() argument 99 , m_dataTransfer(dataTransfer) in MouseEvent()
|
/external/chromium_org/chrome/browser/resources/options/ |
D | browser_options_startup_page_list.js | 187 e.dataTransfer.effectAllowed = 'move'; 191 e.dataTransfer.setData('text/plain', target.urlField_.value); 257 var url = e.dataTransfer.getData('url');
|
D | language_list.js | 246 e.dataTransfer.effectAllowed = 'move'; 250 e.dataTransfer.setData('text/plain', target.title);
|
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/ |
D | dnd.js | 342 e.dataTransfer.effectAllowed = draggedNodes.length == 1 && 367 e.dataTransfer.dropEffect = 'none'; 389 e.dataTransfer.dropEffect = 'none'; 393 e.dataTransfer.dropEffect = dragInfo.isSameProfile() ? 'move' : 'copy';
|
/external/chromium_org/chrome/browser/resources/about_sys/ |
D | about_sys.js | 21 e.dataTransfer.dropEffect = 'copy'; 26 var file = e.dataTransfer.files[0];
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
D | DataTransferItemFileSystem.cpp | 63 …DOMFileSystem* domFileSystem = DraggedIsolatedFileSystem::getDOMFileSystem(item.dataTransfer()->da… in webkitGetAsEntry()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | startup_page_list_browsertest.js | 129 mockDropEvent.dataTransfer.setData('url', NEW_PAGE);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
D | ViewportControl.js | 172 event.dataTransfer.clearData(); 173 event.dataTransfer.setData("text/plain", text); 174 event.dataTransfer.effectAllowed = "copy";
|