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

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: 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 7b940aa1f2f0367a2302a9ed9537f6046b8d2fcd..ea6fcb4957060eb8f5571f97cf70c429c192f4f5 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -386,7 +386,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