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

Issue 159060: Use a real download item.... (Closed)

Created:
11 years, 5 months ago by Nico
Modified:
9 years, 7 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews_googlegroups.com, John Grabowski, Paul Godavari, Ben Goodger (Google), alcor
Visibility:
Public.

Description

Use a real download item. BUG=14659, 17100 TEST=Download multiple things. Items should now be inserted from the left. When a download is in progress, the time to completion should be displayed, when it's done the time should fade out and the filename should move down. Download items should appear in a sweep animation. Clicking the download directly should open it; clicking the arrow on the right of the download item should show the correct context menu. If a download filename is long, it should be elided in the middle. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21201

Patch Set 1 #

Patch Set 2 : wip: animate download items in #

Patch Set 3 : wip: use a custom drawn cell for download item. lots of duplication atm, will clean up #

Patch Set 4 : wip: drawing mostly done, clicking works. cleanup yet to do #

Patch Set 5 : cleanup wip, still need to delete some duplicate code #

Patch Set 6 : cleanup wip, still need to delete some duplicate code #

Patch Set 7 : duplication deleted #

Patch Set 8 : merge in thomasvl's xib move #

Patch Set 9 : more code than should be necessary for status hiding animation #

Patch Set 10 : tweak animation durations #

Patch Set 11 : fix lint errors #

Total comments: 23

Patch Set 12 : dont leak animation object if the cell is destroyed while anim is running #

Patch Set 13 : show animation only if necessary #

Patch Set 14 : first round of review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+762 lines, -254 lines) Patch
M chrome/app/nibs/DownloadItem.xib View 28 chunks +114 lines, -151 lines 0 comments Download
M chrome/app/nibs/DownloadShelf.xib View 3 chunks +4 lines, -4 lines 0 comments Download
A chrome/browser/cocoa/download_item_cell.h View 3 4 5 6 7 8 9 10 11 12 13 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/download_item_cell.mm View 3 4 5 6 7 8 9 10 11 12 13 1 chunk +437 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/download_item_controller.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/cocoa/download_item_controller.mm View 1 2 3 4 5 6 7 3 chunks +23 lines, -26 lines 0 comments Download
M chrome/browser/cocoa/download_shelf_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +28 lines, -14 lines 0 comments Download
M chrome/browser/cocoa/gradient_button_cell.h View 7 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/gradient_button_cell.mm View 7 8 9 10 11 12 13 2 chunks +78 lines, -58 lines 0 comments Download
M chrome/chrome.gyp View 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Nico
11 years, 5 months ago (2009-07-21 04:52:10 UTC) #1
Avi (use Gerrit)
http://codereview.chromium.org/159060/diff/1090/1094 File chrome/browser/cocoa/download_item_cell.h (right): http://codereview.chromium.org/159060/diff/1090/1094#newcode23 Line 23: DI_MOUSE_OVER_DROPDOWN_PART Is this right stylewise? Definitely indent two; ...
11 years, 5 months ago (2009-07-21 14:57:18 UTC) #2
Nico
Thanks for the very quick first round! http://codereview.chromium.org/159060/diff/1090/1094 File chrome/browser/cocoa/download_item_cell.h (right): http://codereview.chromium.org/159060/diff/1090/1094#newcode23 Line 23: DI_MOUSE_OVER_DROPDOWN_PART ...
11 years, 5 months ago (2009-07-21 16:32:00 UTC) #3
Avi (use Gerrit)
11 years, 5 months ago (2009-07-21 18:34:56 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698