summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/download_item_view.cc
diff options
context:
space:
mode:
authorpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 18:01:55 +0000
committerpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 18:01:55 +0000
commitaf066a6a6f9859764a62071a00a401edf76b8024 (patch)
treef8ab2e801a4d65c7314e183b5493b74a5ebfcddd /chrome/browser/views/download_item_view.cc
parente68d6578f6c64a9120eb224aa594eca1c5960df3 (diff)
downloadchromium_src-af066a6a6f9859764a62071a00a401edf76b8024.zip
chromium_src-af066a6a6f9859764a62071a00a401edf76b8024.tar.gz
chromium_src-af066a6a6f9859764a62071a00a401edf76b8024.tar.bz2
Implement drag and drop of downloads for the Mac downloads page.
BUG=15776 (http://crbug.com/15776) TEST=Download an item, open the download page, drag the icon of the download to the desktop. Review URL: http://codereview.chromium.org/164459 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/download_item_view.cc')
-rw-r--r--chrome/browser/views/download_item_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/download_item_view.cc b/chrome/browser/views/download_item_view.cc
index 54f3a15..ec4d514 100644
--- a/chrome/browser/views/download_item_view.cc
+++ b/chrome/browser/views/download_item_view.cc
@@ -872,7 +872,7 @@ bool DownloadItemView::OnMouseDragged(const views::MouseEvent& event) {
SkBitmap* icon = im->LookupIcon(download_->full_path(),
IconLoader::SMALL);
if (icon)
- download_util::DragDownload(download_, icon);
+ download_util::DragDownload(download_, icon, NULL);
}
} else if (ExceededDragThreshold(
event.location().x() - drag_start_point_.x(),