diff options
author | mazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-26 11:59:04 +0000 |
---|---|---|
committer | mazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-26 11:59:04 +0000 |
commit | 0518d0dde990e5382c94bde61e10cd3f3bbf7c27 (patch) | |
tree | 7bbe180593b3f2456ae4c4c842a1575a3e3b7cf1 /content | |
parent | 7f219e315a3b6e6b262f75313f52b555632d9317 (diff) | |
download | chromium_src-0518d0dde990e5382c94bde61e10cd3f3bbf7c27.zip chromium_src-0518d0dde990e5382c94bde61e10cd3f3bbf7c27.tar.gz chromium_src-0518d0dde990e5382c94bde61e10cd3f3bbf7c27.tar.bz2 |
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
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/web_contents/web_contents_view_aura.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |