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

Unified Diff: chrome/browser/download/download_util.cc

Issue 10855159: Support Drag and Drop across displays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable DragDropTrackerTest on Win Created 8 years, 4 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: chrome/browser/download/download_util.cc
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index c9deb265bb143bedbe76fd1d96a0632f8b2f2eea..3dd5840920a9ae32fd960471b88c5200771af1d3 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -364,7 +364,10 @@ void DragDownload(const DownloadItem* download,
return;
gfx::Point location = gfx::Screen::GetCursorScreenPoint();
- aura::client::GetDragDropClient(root_window)->StartDragAndDrop(data, location,
+ aura::client::GetDragDropClient(root_window)->StartDragAndDrop(
+ data,
+ root_window,
+ location,
ui::DragDropTypes::DRAG_COPY | ui::DragDropTypes::DRAG_LINK);
#else // We are on WIN without AURA
// We cannot use Widget::RunShellDrag on WIN since the |view| is backed by a

Powered by Google App Engine
This is Rietveld 408576698