Using chromium drag - chrome.send("drag"...?


#1

I’m looking for a native os file drag.

Chromium offers that on the downloads page:
chrome://downloads/

When I understand it right, chrome uses chrome.send(‘drag’, id?) to start the drag.
(Cant track that further for now… )
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/resources/md_downloads/crisper.js&q=crisper.js&sq=package:chromium&type=cs&l=1575

Someone knows a way to use that in electron?

(downloadURL isnt a solution for me)

merci!


#2

https://chromium.googlesource.com/chromium/src.git/+/master/chrome/browser/ui/webui/md_downloads/

https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/ui/cocoa/download/download_item_drag_mac.mm&q=DragDownloadItem&sq=package:chromium&dr=C&l=11


#3

Github issue: