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

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: 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: 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 e840fa89c6edf6ab588edae9b4e3b70fa264e1c4..d5f2a617cc7ced2cc2b1211b1c57645ab9db3e88 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -1373,8 +1373,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,
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/browser/web_contents/web_contents_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698