Index: ui/views/view.cc |
diff --git a/ui/views/view.cc b/ui/views/view.cc |
index 0e733ad6a898f01863c3eccbda30c5de2bc15237..45ba1f9271c5032eda7820a633b1b06bec460002 100644 |
--- a/ui/views/view.cc |
+++ b/ui/views/view.cc |
@@ -2412,6 +2412,12 @@ bool View::DoDrag(const ui::LocatedEvent& event, |
OSExchangeData data; |
WriteDragData(press_pt, &data); |
+// The Native Event is required for OSX's native drag and drop. As such, it's |
+// necessary to pass down the Event object. |
+#if defined(OS_MACOSX) |
+ data.provider().SetEvent(event); |
tapted
2016/05/24 08:06:02
So I'm still unsure about this. I found one place
spqchan
2016/05/26 01:56:55
Ahh, that's a really good point! I made a change s
|
+#endif |
+ |
// Message the RootView to do the drag and drop. That way if we're removed |
// the RootView can detect it and avoid calling us back. |
gfx::Point widget_location(event.location()); |