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

Issue 8757007: Implement additional UI changes for dangerous download warnings. (Closed)

Created:
9 years ago by asanka
Modified:
9 years ago
CC:
chromium-reviews, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement additional UI changes for dangerous download warnings. When a download is detected as malicious by the safe browsing service, the download shelf now displays a warning message along with a 'Discard' button and a drop down menu with additional actions. BUG=102540 TEST=Initiating a download that is flagged as malicious by the safe browsing service causes the new malicious download warning to be displayed on the download shelf. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112954

Patch Set 1 #

Patch Set 2 : " #

Total comments: 7

Patch Set 3 : Add DCHECKs #

Total comments: 29

Patch Set 4 : Address comments #

Total comments: 4

Patch Set 5 : Rebase only #

Patch Set 6 : Address comments and update help center URL #

Total comments: 1

Patch Set 7 : Appease compiler and move 'learn more' URL to url_constants #

Patch Set 8 : " #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -144 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 3 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/download/download_shelf_context_menu.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/download/download_shelf_context_menu.cc View 1 2 3 4 5 6 7 5 chunks +59 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.h View 1 2 3 4 6 chunks +25 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 2 3 41 chunks +208 lines, -117 lines 0 comments Download
M chrome/browser/ui/views/download/download_shelf_context_menu_view.h View 1 chunk +3 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/download/download_shelf_context_menu_view.cc View 1 2 3 4 5 6 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
asanka
http://codereview.chromium.org/8757007/diff/2001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8757007/diff/2001/chrome/app/generated_resources.grd#newcode2286 chrome/app/generated_resources.grd:2286: http://www.google.com/support/chrome/bin/answer.py?answer=TODO&hl=[GRITLANGCODE] TODO: This will be fixed before commit once ...
9 years ago (2011-11-30 23:39:13 UTC) #1
asanka
Screenshots are here: http://folder/asanka/dangerous-download-prompt/
9 years ago (2011-11-30 23:58:07 UTC) #2
noelutz
On 2011/11/30 23:58:07, asanka wrote: > Screenshots are here: > > http://folder/asanka/dangerous-download-prompt/ YAY. Really nice ...
9 years ago (2011-12-01 00:24:11 UTC) #3
noelutz
lgtm all of my comments are questions to help me understand your change. they shouldn't ...
9 years ago (2011-12-01 00:48:27 UTC) #4
asanka
noelutz: Thanks for taking care of the strings. I'll update the CL with the new ...
9 years ago (2011-12-01 18:45:07 UTC) #5
dmazzoni
Will take a look shortly, thanks... On Thu, Dec 1, 2011 at 10:45 AM, <asanka@chromium.org> ...
9 years ago (2011-12-01 18:50:50 UTC) #6
dmazzoni
Just curious, are mac/gtk changes in separate changelists? http://codereview.chromium.org/8757007/diff/8001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8757007/diff/8001/chrome/app/generated_resources.grd#newcode2492 chrome/app/generated_resources.grd:2492: <message ...
9 years ago (2011-12-01 19:49:22 UTC) #7
Randy Smith (Not in Mondays)
I'm not certain how useful my review is, as I had a hard time tracking ...
9 years ago (2011-12-01 19:50:46 UTC) #8
asanka
dmazzoni: There's currently no equivalent CL in-flight for GTK/Mac. The CL for GTK (http://codereview.chromium.org/8588037/ ) ...
9 years ago (2011-12-02 00:05:04 UTC) #9
noelutz
We don't have a definite answer on the string yet. Ian is talking to the ...
9 years ago (2011-12-02 00:31:46 UTC) #10
noelutz
We have a winner: "[foo.exe|This file] appears to be malicious. [Discard][>]" Thanks, noe. On Thu, ...
9 years ago (2011-12-02 01:02:57 UTC) #11
noelutz
Argh. no 'to be': "[foo.exe|This file] appears malicious. [Discard][>]" On Thu, Dec 1, 2011 at ...
9 years ago (2011-12-02 01:16:09 UTC) #12
asanka
On 2011/12/02 01:16:09, noelutz wrote: > Argh. no 'to be': > > "[foo.exe|This file] appears ...
9 years ago (2011-12-02 04:57:51 UTC) #13
dmazzoni
LGTM I'm happy with the changes to the downloads view and other UI-related changes. Thanks. ...
9 years ago (2011-12-02 20:15:45 UTC) #14
Randy Smith (Not in Mondays)
On 2011/12/02 20:15:45, Dominic Mazzoni wrote: > LGTM > > I'm happy with the changes ...
9 years ago (2011-12-02 20:19:56 UTC) #15
dmazzoni
On Fri, Dec 2, 2011 at 12:19 PM, <rdsmith@chromium.org> wrote: > Dominic: Just checking (since ...
9 years ago (2011-12-02 21:20:40 UTC) #16
Randy Smith (Not in Mondays)
On 2011/12/02 21:20:40, Dominic Mazzoni wrote: > On Fri, Dec 2, 2011 at 12:19 PM, ...
9 years ago (2011-12-02 21:36:58 UTC) #17
asanka
http://codereview.chromium.org/8757007/diff/8002/chrome/browser/download/download_shelf_context_menu.cc File chrome/browser/download/download_shelf_context_menu.cc (right): http://codereview.chromium.org/8757007/diff/8002/chrome/browser/download/download_shelf_context_menu.cc#newcode31 chrome/browser/download/download_shelf_context_menu.cc:31: DownloadStateInfo::DANGEROUS_CONTENT) { On 2011/12/02 20:15:45, Dominic Mazzoni wrote: > ...
9 years ago (2011-12-02 22:11:57 UTC) #18
dmazzoni
LGTM (in case it wasn't clear) Thanks for the explanation! I trust that you guys ...
9 years ago (2011-12-02 23:10:19 UTC) #19
asanka
FYI: I moved the "learn more" URL from generated_resources to url_constants. The URL is non-translatable, ...
9 years ago (2011-12-03 21:40:35 UTC) #20
asanka
*Some* try runs aren't showing up for patchset 7. So adding build URLs manually: win: ...
9 years ago (2011-12-03 21:48:54 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/8757007/22001
9 years ago (2011-12-05 00:15:31 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/8757007/25001
9 years ago (2011-12-05 01:56:01 UTC) #23
commit-bot: I haz the power
9 years ago (2011-12-05 03:10:36 UTC) #24
Change committed as 112954

Powered by Google App Engine
This is Rietveld 408576698