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 /ui/views/drag_utils.cc | |
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 'ui/views/drag_utils.cc')
-rw-r--r-- | ui/views/drag_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/drag_utils.cc b/ui/views/drag_utils.cc index f9efd2e..b88e5c1 100644 --- a/ui/views/drag_utils.cc +++ b/ui/views/drag_utils.cc @@ -50,7 +50,7 @@ void RunShellDrag(gfx::NativeView view, aura::Window::ConvertPointToTarget(view, root_window, &root_location); if (aura::client::GetDragDropClient(root_window)) { aura::client::GetDragDropClient(root_window)->StartDragAndDrop( - data, root_location, operation); + data, root_window, root_location, operation); } #elif defined(OS_WIN) scoped_refptr<ui::DragSource> drag_source(new ui::DragSource); |