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

Issue 23271005: Move DragDownload() out of download_util.h (Closed)

Created:
7 years, 4 months ago by tfarina
Modified:
7 years, 3 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org
Visibility:
Public.

Description

Move DragDownload() out of download_util.h With this change download_util.h is gone, the remained function is moved into a new header file called drag_download_item.h. Which makes more sense since the remained function is related to drag and drop functionality. - Renamed DragDownload() to DragDownloadItem(). BUG=104549 TEST=unit_tests R=benjhayden@chromium.org,asanka@chromium.org TBR=thestig Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219481

Patch Set 1 #

Patch Set 2 : download_item_drag.{cc,h} #

Patch Set 3 : download_item_drag_gtk.cc #

Patch Set 4 : download_item_drag_mac.mm #

Patch Set 5 : download_item_drag_views.cc #

Patch Set 6 : drag_download_item #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -281 lines) Patch
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/download/download_path_reservation_tracker.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/download/download_prefs.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/download/download_status_updater.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/download/download_target_determiner.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/download/download_target_determiner_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/download/download_util.h View 1 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/download/download_util.cc View 1 1 chunk +0 lines, -119 lines 0 comments Download
A + chrome/browser/download/drag_download_item.h View 1 2 3 4 5 2 chunks +6 lines, -10 lines 0 comments Download
A chrome/browser/download/drag_download_item_gtk.cc View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
A + chrome/browser/download/drag_download_item_views.cc View 1 2 3 4 5 4 chunks +11 lines, -31 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/download/download_item_cell.mm View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/download/download_item_controller.mm View 1 chunk +0 lines, -1 line 0 comments Download
A + chrome/browser/ui/cocoa/download/download_item_drag_mac.mm View 1 2 3 4 5 2 chunks +8 lines, -28 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_show_all_cell.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/download/download_util_mac.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_util_mac.mm View 1 2 3 2 chunks +1 line, -40 lines 0 comments Download
M chrome/browser/ui/gtk/download/download_item_gtk.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/downloads_dom_handler.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
tfarina
7 years, 4 months ago (2013-08-18 14:10:18 UTC) #1
benjhayden
Is there a particular reason to name the file download_item_drag.h? I'd expect a function named ...
7 years, 4 months ago (2013-08-18 21:23:17 UTC) #2
tfarina
Ben, I just followed asanka's suggestion. See https://code.google.com/p/chromium/issues/detail?id=104549#c46
7 years, 4 months ago (2013-08-18 21:32:31 UTC) #3
tfarina
On Sun, Aug 18, 2013 at 6:32 PM, <tfarina@chromium.org> wrote: > Ben, I just followed ...
7 years, 4 months ago (2013-08-19 18:33:48 UTC) #4
benjhayden
Yep, thanks, I'll let Asanka say which he'd prefer. It looks like he isn't at ...
7 years, 4 months ago (2013-08-19 18:37:01 UTC) #5
asanka
On 2013/08/19 18:37:01, benjhayden_chromium wrote: > Yep, thanks, I'll let Asanka say which he'd prefer. ...
7 years, 4 months ago (2013-08-20 01:37:15 UTC) #6
benjhayden
On 2013/08/20 01:37:15, asanka (OOO till Aug-26) wrote: > On 2013/08/19 18:37:01, benjhayden_chromium wrote: > ...
7 years, 4 months ago (2013-08-20 17:29:59 UTC) #7
tfarina
TBRing owner for the trival updates in the rest of chrome/ Lei -> chrome
7 years, 3 months ago (2013-08-25 01:56:20 UTC) #8
tfarina
Ben, I renamed the file to drag_download_item* I'll follow up with the gtk consolidation in ...
7 years, 3 months ago (2013-08-25 01:57:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/23271005/36001
7 years, 3 months ago (2013-08-25 01:57:34 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=71645
7 years, 3 months ago (2013-08-25 05:03:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/23271005/36001
7 years, 3 months ago (2013-08-25 13:31:29 UTC) #12
commit-bot: I haz the power
Change committed as 219481
7 years, 3 months ago (2013-08-25 15:37:52 UTC) #13
Lei Zhang
7 years, 3 months ago (2013-08-26 05:09:22 UTC) #14
Message was sent while issue was closed.
Bits outside of download directories lgtm

Powered by Google App Engine
This is Rietveld 408576698