From 0518d0dde990e5382c94bde61e10cd3f3bbf7c27 Mon Sep 17 00:00:00 2001 From: "mazda@chromium.org" Date: Sun, 26 Aug 2012 11:59:04 +0000 Subject: Support Drag and Drop across displays. This CL introduces DragDropTracker, which - Makes a dummy window capture events while dragging an item, and - Dispatches mouse events to the window at the pointer location in DragDropController::PreHandleMouseEvent. BUG=136817 Review URL: https://chromiumcodereview.appspot.com/10855159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153401 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/web_contents/web_contents_view_aura.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content') diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc index ac67fdf..2ff97fe 100644 --- a/content/browser/web_contents/web_contents_view_aura.cc +++ b/content/browser/web_contents/web_contents_view_aura.cc @@ -452,7 +452,7 @@ void WebContentsViewAura::StartDragging( gfx::Point location(gfx::Screen::GetCursorScreenPoint()); MessageLoop::ScopedNestableTaskAllower allow(MessageLoop::current()); result_op = aura::client::GetDragDropClient(root_window)->StartDragAndDrop( - data, location, ConvertFromWeb(operations)); + data, root_window, location, ConvertFromWeb(operations)); } EndDrag(ConvertToWeb(result_op)); -- cgit v1.1