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

Issue 93129: Initial download shelf on OS X.... (Closed)

Created:
11 years, 8 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Initial download shelf on OS X. This has lots of missing stuff (e.g. a custom download item view that shows download progress, the popup is the same for in-progress and completed downloads, no animation, everything looks ugly, the info bubble overlaps the shelf when it's visible, no "open download manager page" link, etc), but the basic functionality is hooked up: The shelf appears when files are downloaded, and something ugly is added to the shelf for each download. The popup's "Reveral in Finder" even works. The shelf is per-window as it should be. BUG=12500 TEST=Download something and check the shelf appears. Click the close button and make sure it disappears again. Review URL: http://codereview.chromium.org/93129

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 57

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : Everything except class comments and tests done #

Patch Set 9 : Updated CL description #

Patch Set 10 : Addressed all comments except tests #

Patch Set 11 : added test for downloadshelfmac #

Patch Set 12 : enable save_package_uitest, it passes now #

Total comments: 54

Patch Set 13 : merge with tot #

Patch Set 14 : merge with tot #

Patch Set 15 : set eol property #

Patch Set 16 : address comments #

Patch Set 17 : Duh. #

Patch Set 18 : Duh 2. #

Total comments: 8

Patch Set 19 : More comments. #

Patch Set 20 : fix download_uitest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+801 lines, -630 lines) Patch
A chrome/app/nibs/en.lproj/DownloadShelf.xib View 6 1 chunk +248 lines, -0 lines 0 comments Download
M chrome/browser/browser.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/browser_window_cocoa.mm View 1 2 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.h View 6 7 8 9 10 11 12 13 14 15 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.mm View 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +17 lines, -4 lines 0 comments Download
A + chrome/browser/cocoa/download_item_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +23 lines, -58 lines 0 comments Download
A + chrome/browser/cocoa/download_item_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +107 lines, -293 lines 0 comments Download
A chrome/browser/cocoa/download_shelf_controller.h View 6 7 8 9 10 11 12 13 14 15 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/download_shelf_controller.mm View 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +114 lines, -0 lines 0 comments Download
A + chrome/browser/cocoa/download_shelf_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +20 lines, -35 lines 0 comments Download
A + chrome/browser/cocoa/download_shelf_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +37 lines, -183 lines 0 comments Download
A + chrome/browser/cocoa/download_shelf_mac_unittest.mm View 11 12 13 14 15 1 chunk +73 lines, -15 lines 0 comments Download
A chrome/browser/cocoa/download_shelf_view.h View 6 7 8 9 10 11 12 13 14 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/download_shelf_view.mm View 6 7 8 9 10 11 12 13 14 15 1 chunk +61 lines, -0 lines 0 comments Download
M chrome/browser/download/download_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/download/save_package.cc View 12 13 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +10 lines, -3 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.h View 6 7 8 9 10 11 12 13 2 chunks +0 lines, -25 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +13 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Nico
This is very raw, but it mostly works. I'd like to get this in, to ...
11 years, 8 months ago (2009-04-24 19:19:57 UTC) #1
Nico
Assigning thomasvl's favorite reviewers.
11 years, 8 months ago (2009-04-24 21:42:47 UTC) #2
pink (ping after 24hrs)
First thing I'd do is check with Glen about how far along things are with ...
11 years, 8 months ago (2009-04-27 17:19:03 UTC) #3
Nico
Long time no see. The shelf is now per-window. I also converted the download shelf ...
11 years, 6 months ago (2009-06-17 07:38:38 UTC) #4
pink (ping after 24hrs)
http://codereview.chromium.org/93129/diff/6059/6070 File chrome/browser/cocoa/browser_window_cocoa.mm (right): http://codereview.chromium.org/93129/diff/6059/6070#newcode102 Line 102: // FIXME(thakis): Not true. Need to set title ...
11 years, 6 months ago (2009-06-17 21:34:23 UTC) #5
Nico
That was quick. Thanks! http://codereview.chromium.org/93129/diff/6059/6070 File chrome/browser/cocoa/browser_window_cocoa.mm (right): http://codereview.chromium.org/93129/diff/6059/6070#newcode102 Line 102: // FIXME(thakis): Not true. ...
11 years, 6 months ago (2009-06-17 23:48:28 UTC) #6
pink (ping after 24hrs)
http://codereview.chromium.org/93129/diff/9045/8028 File chrome/browser/cocoa/browser_window_controller.mm (right): http://codereview.chromium.org/93129/diff/9045/8028#newcode552 Line 552: return downloadShelfController_ != nil && [downloadShelfController_ isVisible]; 80cols ...
11 years, 6 months ago (2009-06-18 17:18:23 UTC) #7
Nico
I'll look into the download_uitest now. Addressed the rest. http://codereview.chromium.org/93129/diff/9045/8028 File chrome/browser/cocoa/browser_window_controller.mm (right): http://codereview.chromium.org/93129/diff/9045/8028#newcode552 Line ...
11 years, 6 months ago (2009-06-18 17:36:58 UTC) #8
pink (ping after 24hrs)
cc'ing paulg who will probably be doing a lot of the finishing work on this. ...
11 years, 6 months ago (2009-06-18 17:39:37 UTC) #9
Nico
Ping. Good to go?
11 years, 6 months ago (2009-06-18 20:42:28 UTC) #10
Paul Godavari
I'm okay with it, but there are a ton of TODOs in the code. I ...
11 years, 6 months ago (2009-06-18 21:13:41 UTC) #11
pink (ping after 24hrs)
11 years, 6 months ago (2009-06-18 21:20:31 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld 408576698