Index: chrome/browser/tab_contents/web_drag_source.cc |
=================================================================== |
--- chrome/browser/tab_contents/web_drag_source.cc (revision 19334) |
+++ chrome/browser/tab_contents/web_drag_source.cc (working copy) |
@@ -39,6 +39,14 @@ |
render_view_host_(render_view_host) { |
} |
+void WebDragSource::OnDragSourceCancel() { |
+ gfx::Point client; |
+ gfx::Point screen; |
+ GetCursorPositions(source_wnd_, &client, &screen); |
+ render_view_host_->DragSourceEndedAt(client.x(), client.y(), |
+ screen.x(), screen.y()); |
+} |
+ |
void WebDragSource::OnDragSourceDrop() { |
gfx::Point client; |
gfx::Point screen; |