Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: components/test_runner/event_sender.cc

Issue 2655463015: Correctly set dragLeave and dragEnd coords for OOPIF drag and drop (Closed)
Patch Set: Added checks for null RWH on drag end Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/test_runner/event_sender.cc
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc
index 7f38826f9b52e91b910257135d2fa7d2086bdb54..24f62b0d6493cd4c53d1a4b670076e399069a6a8 100644
--- a/components/test_runner/event_sender.cc
+++ b/components/test_runner/event_sender.cc
@@ -2689,7 +2689,8 @@ void EventSender::FinishDragAndDrop(const WebMouseEvent& raw_event,
mainFrameWidget()->dragTargetDrop(current_drag_data_, client_point,
screen_point, event->modifiers());
} else {
- mainFrameWidget()->dragTargetDragLeave();
+ mainFrameWidget()->dragTargetDragLeave(blink::WebPoint(),
+ blink::WebPoint());
}
current_drag_data_.reset();
mainFrameWidget()->dragSourceEndedAt(client_point, screen_point,
« no previous file with comments | « chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698