electron/atom
Nishanth Shanmugham 2bbf86c524 tray: Support file-drop from OS X Dock
A long-standing Apple bug does not call `prepareForDragOperation:sender`
for file drag-and-drop operations from the Dock. So we manually
call our custom `handleDrop:sender` for all drag-and-drop cases (that
is, from the Dock and from Finder).

References to the bug in question:
- http://stackoverflow.com/q/9534543/3309046
- http://openradar.appspot.com/radar?id=1745403

However, we still need to return YES from `prepareForDragOperation:sender`,
otherwise the "drag failed" animation occurs. For the same reason, we also
return YES from `performDragOperation:sender`.
2015-12-29 03:27:59 -06:00
..
app Merge pull request #3733 from deepak1556/service_worker_scheme_patch 2015-12-10 19:29:51 +08:00
browser tray: Support file-drop from OS X Dock 2015-12-29 03:27:59 -06:00
common Leak FunctionTemplateHandle 2015-12-29 10:40:10 +08:00
renderer Fix circular reference caused by Object.defineProperty 2015-12-29 10:17:35 +08:00
utility Rename PrintHandler to PrintHandlerWin since only used on Windows. 2015-05-23 19:24:29 +08:00