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

Unified Diff: components/test_runner/event_sender.cc

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 6 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 62caa03f9a64ee80891ba95590780610a32099b0..12957907e897da41805fb96db92bc5ce20f2dd04 100644
--- a/components/test_runner/event_sender.cc
+++ b/components/test_runner/event_sender.cc
@@ -2652,7 +2652,8 @@ void EventSender::FinishDragAndDrop(const WebMouseEvent& e,
if (current_drag_effect_) {
// Specifically pass any keyboard modifiers to the drop method. This allows
// tests to control the drop type (i.e. copy or move).
- view()->dragTargetDrop(client_point, screen_point, e.modifiers);
+ view()->dragTargetDrop(current_drag_data_, client_point, screen_point,
+ e.modifiers);
} else {
view()->dragTargetDragLeave();
}
« no previous file with comments | « chrome/browser/ui/webui/webui_webview_browsertest.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698