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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2655463015: Correctly set dragLeave and dragEnd coords for OOPIF drag and drop (Closed)
Patch Set: Cleanup Created 3 years, 11 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: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index ea327016baa84a793aad9b7723328e1707c905a8..e3d9687600840b405d3507a27f656d05055d2078 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -1371,8 +1371,9 @@ void RenderWidgetHostImpl::DragTargetDragOver(
operations_allowed, key_modifiers));
}
-void RenderWidgetHostImpl::DragTargetDragLeave() {
- Send(new DragMsg_TargetDragLeave(GetRoutingID()));
+void RenderWidgetHostImpl::DragTargetDragLeave(const gfx::Point& client_point,
+ const gfx::Point& screen_point) {
+ Send(new DragMsg_TargetDragLeave(GetRoutingID(), client_point, screen_point));
}
void RenderWidgetHostImpl::DragTargetDrop(const DropData& drop_data,

Powered by Google App Engine
This is Rietveld 408576698