electron/atom/browser/ui
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
..
cocoa Update to API changes of Chrome 47 2015-12-07 19:56:23 +08:00
views Fix up Chrome47 changes 2015-12-07 13:27:05 -08:00
win win: Implement menu parameter 2015-12-02 19:58:10 +08:00
x Update to API changes of Chrome 47 2015-12-07 19:56:23 +08:00
accelerator_util.cc Update to API changes of Chrome 47 2015-12-07 19:56:23 +08:00
accelerator_util.h Remove All Rights Reserved after GitHub copyright 2014-10-31 11:17:05 -07:00
accelerator_util_mac.mm Remove All Rights Reserved after GitHub copyright 2014-10-31 11:17:05 -07:00
accelerator_util_views.cc Remove All Rights Reserved after GitHub copyright 2014-10-31 11:17:05 -07:00
atom_menu_model.cc Add role property for MenuItem 2015-09-02 09:42:17 +08:00
atom_menu_model.h Fix API changes 2015-09-03 17:50:23 +09:00
file_dialog.h Remove All Rights Reserved after GitHub copyright 2014-10-31 11:17:05 -07:00
file_dialog_gtk.cc Fix up Chrome47 changes 2015-12-07 13:27:05 -08:00
file_dialog_mac.mm mac: make * extension filter works. 2015-08-21 12:15:20 +08:00
file_dialog_win.cc Fix up Windows build errors 2015-12-07 10:02:06 -08:00
message_box.h Add noLink option for showMessageBox 2015-07-23 17:25:37 +08:00
message_box_gtk.cc Update to API changes of Chrome 47 2015-12-07 19:56:23 +08:00
message_box_mac.mm Add |options| for ShowMessageBox 2015-07-23 14:16:43 +08:00
message_box_win.cc Update to API changes of Chrome 47 2015-12-07 19:56:23 +08:00
tray_icon.cc Add menu parameter for Tray.popUpContextMenu 2015-12-02 18:43:11 +08:00
tray_icon.h Add menu parameter for Tray.popUpContextMenu 2015-12-02 18:43:11 +08:00
tray_icon_cocoa.h Add menu parameter for Tray.popUpContextMenu 2015-12-02 18:43:11 +08:00
tray_icon_cocoa.mm tray: Support file-drop from OS X Dock 2015-12-29 03:27:59 -06:00
tray_icon_gtk.cc gtk: Notify the click event 2015-05-21 15:22:52 +08:00
tray_icon_gtk.h OVERRIDE macro is now removed 2015-01-27 13:18:30 -08:00
tray_icon_observer.h Tray: Add drag-end and drop events 2015-11-10 10:02:50 -06:00
tray_icon_win.cc Remove All Rights Reserved after GitHub copyright 2014-10-31 11:17:05 -07:00