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

Issue 165295: Add "dangerous download" view on OS X, for now for dmg files. Also fix download item layout. (Closed)

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

Description

Add "dangerous download" view on OS X, for now for dmg files. Also fix download item layout. BUG=14667, 17831 TEST=Download a dmg file. Make sure the "dangerous download" view appears. Check that both buttons work, and that the dmg filename is elided correctly. Also test that "Remove" on a normal download item's context menu relayouts the remaining items on the shelf. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23103

Patch Set 1 #

Patch Set 2 : fix file icon of items downloaded after dangerous download dialog #

Total comments: 20

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -59 lines) Patch
M chrome/app/nibs/DownloadItem.xib View 1 2 13 chunks +290 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/download_item_controller.h View 1 2 3 chunks +24 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/download_item_controller.mm View 1 2 5 chunks +83 lines, -9 lines 0 comments Download
M chrome/browser/cocoa/download_item_mac.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/download_item_mac.mm View 1 2 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/cocoa/download_shelf_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/download_shelf_controller.mm View 1 2 8 chunks +34 lines, -27 lines 0 comments Download
M chrome/browser/download/download_exe.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/download/download_manager.cc View 4 chunks +2 lines, -13 lines 0 comments Download
M chrome/chrome.gyp View 1 2 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Nico
Last substantial piece for the download shelf. Hooray!
11 years, 4 months ago (2009-08-11 08:10:16 UTC) #1
Paul Godavari
Mostly just nits: http://codereview.chromium.org/165295/diff/11/13 File chrome/browser/cocoa/download_item_controller.h (right): http://codereview.chromium.org/165295/diff/11/13#newcode16 Line 16: nit: remove blanks lines (should ...
11 years, 4 months ago (2009-08-11 21:34:49 UTC) #2
Nico
Thanks for the review. All addressed. http://codereview.chromium.org/165295/diff/11/13 File chrome/browser/cocoa/download_item_controller.h (right): http://codereview.chromium.org/165295/diff/11/13#newcode16 Line 16: On 2009/08/11 ...
11 years, 4 months ago (2009-08-11 22:37:27 UTC) #3
Paul Godavari
11 years, 4 months ago (2009-08-11 22:44:48 UTC) #4
LGTM!

Powered by Google App Engine
This is Rietveld 408576698