Home
last modified time | relevance | path

Searched refs:dataTransfer (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dfile_transfer_controller.js153 cutOrCopy_: function(dataTransfer, effectAllowed) { argument
155 dataTransfer.setData('fs/tag', 'filemanager-data');
156 dataTransfer.setData('fs/sourceRoot',
160 dataTransfer.setData('fs/sources', sourcePaths.join('\n'));
161 dataTransfer.effectAllowed = effectAllowed;
162 dataTransfer.setData('fs/effectallowed', effectAllowed);
165 dataTransfer.items.add(this.selectedFileObjects_[i]);
176 getSourceRoot_: function(dataTransfer) { argument
177 var sourceRoot = dataTransfer.getData('fs/sourceRoot');
207 paste: function(dataTransfer, opt_destinationPath, opt_effect) { argument
[all …]
/external/chromium_org/chrome/browser/resources/ntp4/
Dapps_page.js518 setDragData: function(dataTransfer) { argument
519 dataTransfer.setData('Text', this.appData_.title);
520 dataTransfer.setData('URL', this.appData_.url);
645 this.setDropEffect(e.dataTransfer);
653 if (!e.dataTransfer || !e.dataTransfer.types)
655 return Array.prototype.indexOf.call(e.dataTransfer.types,
660 addDragData: function(dataTransfer, index) { argument
682 this.addOutsideData_(dataTransfer);
697 addOutsideData_: function(dataTransfer) { argument
698 var url = dataTransfer.getData('url');
[all …]
Dtile_page.js29 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
Dnav_dot.js220 ntp.setCurrentDropEffect(e.dataTransfer, 'none');
222 this.page_.setDropEffect(e.dataTransfer);
Dmost_visited_page.js265 setDragData: function(dataTransfer) { argument
266 dataTransfer.setData('Text', this.data_.title);
267 dataTransfer.setData('URL', this.data_.url);
Dsuggestions_page.js245 setDragData: function(dataTransfer) { argument
246 dataTransfer.setData('Text', this.data_.title);
247 dataTransfer.setData('URL', this.data_.url);
Dtrash.js46 ntp.setCurrentDropEffect(e.dataTransfer, 'move');
Dpage_switcher.js96 targetPage.setDropEffect(e.dataTransfer);
/external/chromium_org/chrome/browser/resources/net_internals/
Dimport_view.js84 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/
Dexample.js24 if (!dropEvent.dataTransfer || !dropEvent.dataTransfer.files)
28 var files = dropEvent.dataTransfer.files;
/external/chromium_org/chrome/browser/resources/extensions/
Dextensions.js31 return (e.dataTransfer.types &&
32 e.dataTransfer.types.indexOf('Files') > -1);
52 if (e.dataTransfer.files.length != 1)
58 for (var i = 0; i < e.dataTransfer.items.length; ++i) {
59 if (e.dataTransfer.items[i].kind == 'file' &&
60 e.dataTransfer.items[i].webkitGetAsEntry().isDirectory) {
67 if (!toSend && /\.(crx|user\.js)$/i.test(e.dataTransfer.files[0].name))
/external/chromium_org/chrome/browser/resources/options/
Dbrowser_options_startup_page_list.js187 e.dataTransfer.effectAllowed = 'move';
191 e.dataTransfer.setData('text/plain', target.urlField_.value);
257 var url = e.dataTransfer.getData('url');
Dlanguage_list.js241 e.dataTransfer.effectAllowed = 'move';
245 e.dataTransfer.setData('text/plain', target.title);
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/
Ddnd.js332 e.dataTransfer.effectAllowed = draggedNodes.length == 1 &&
357 e.dataTransfer.dropEffect = 'none';
379 e.dataTransfer.dropEffect = 'none';
383 e.dataTransfer.dropEffect = dragInfo.isSameProfile() ? 'move' : 'copy';
/external/chromium_org/chrome/browser/resources/enhanced_bookmark_manager/js/
Ddnd.js325 e.dataTransfer.effectAllowed = draggedNodes.length == 1 &&
350 e.dataTransfer.dropEffect = 'none';
372 e.dataTransfer.dropEffect = 'none';
376 e.dataTransfer.dropEffect = dragInfo.isSameProfile() ? 'move' : 'copy';
/external/chromium_org/chrome/browser/resources/chromeos/
Dabout_sys.js23 e.dataTransfer.dropEffect = 'copy';
97 var file = e.dataTransfer.files[0];
/external/chromium_org/chrome/browser/ui/webui/options/
Dstartup_page_list_browsertest.js129 mockDropEvent.dataTransfer.setData('url', NEW_PAGE);
/external/chromium/chrome/browser/resources/options/
Dlanguage_list.js248 e.dataTransfer.effectAllowed = 'move';
252 e.dataTransfer.setData('text/plain', target.title);
/external/chromium_org/third_party/WebKit/Source/core/events/
DMouseEvent.h94 Clipboard* dataTransfer() const { return isDragEvent() ? m_clipboard.get() : 0; } in dataTransfer() function
DMouseEvent.idl60 readonly attribute Clipboard dataTransfer;
/external/chromium/chrome/browser/resources/bookmark_manager/js/
Dmain.js619 e.dataTransfer.effectAllowed = effectAllowed;
647 e.dataTransfer.dropEffect = 'none';
679 e.dataTransfer.dropEffect = this.dragData.sameProfile ? 'move' : 'copy';
710 e.dataTransfer.dropEffect = 'none';
/external/chromium/chrome/browser/resources/ntp/
Dmost_visited.js396 e.dataTransfer.effectAllowed = 'copyLinkMove';
411 e.dataTransfer.dropEffect = 'move';
/external/chromium-trace/trace-viewer/src/about_tracing/
Dprofiling_view.js305 var files = e.dataTransfer.files;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DNavigatorView.js716 event.dataTransfer.setData("text/plain", this._warmedUpContent);
717 event.dataTransfer.effectAllowed = "copy";
DSourcesPanel.js1672 if (event.dataTransfer.types.indexOf(WebInspector.SourcesView.dragAndDropFilesType) === -1)
1679 if (event.dataTransfer.types.indexOf(WebInspector.SourcesView.dragAndDropFilesType) === -1)
1693 var items = /** @type {!Array.<!DataTransferItem>} */ (event.dataTransfer.items);

12