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

Issue 2164723002: Change Dismiss button to Discard and cancel download (Closed)

Created:
4 years, 5 months ago by Jialiu Lin
Modified:
4 years, 5 months ago
CC:
asanka, asvitkine+watch_chromium.org, chromium-reviews, dbeam+watch-downloads_chromium.org, Nathan Parker, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change Dismiss button to Discard and cancel download For malicious downloads, change the Dismiss button in DownloadItemView to Discard button and cancel download when user clicks on it. BUG=594596 Committed: https://crrev.com/388b9dc52751cac09f531aef419c02d642e9bb9c Cr-Commit-Position: refs/heads/master@{#407324}

Patch Set 1 #

Patch Set 2 : Download Item View on Mac #

Total comments: 4

Patch Set 3 : remove dissMaliciousDownload from download_item_controller.h/mm #

Total comments: 2

Patch Set 4 : remove IDS_DISMISS_DOWNLOAD from generated_resources.grd #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -43 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/app/nibs/DownloadItem.xib View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_item_controller.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/download/download_item_controller.mm View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 2 chunks +2 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view_md.cc View 2 chunks +2 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 34 (20 generated)
Jialiu Lin
As discussed in https://crbug.com/594596, we decided to change the "Dismiss" button of malicious download warning ...
4 years, 5 months ago (2016-07-19 22:11:17 UTC) #8
Robert Sesek
https://codereview.chromium.org/2164723002/diff/20001/chrome/app/nibs/DownloadItem.xib File chrome/app/nibs/DownloadItem.xib (right): https://codereview.chromium.org/2164723002/diff/20001/chrome/app/nibs/DownloadItem.xib#newcode101 chrome/app/nibs/DownloadItem.xib:101: <action selector="discardDownload:" target="-2" id="114"/> This is a method name ...
4 years, 5 months ago (2016-07-20 18:37:11 UTC) #11
Jialiu Lin
https://codereview.chromium.org/2164723002/diff/20001/chrome/app/nibs/DownloadItem.xib File chrome/app/nibs/DownloadItem.xib (right): https://codereview.chromium.org/2164723002/diff/20001/chrome/app/nibs/DownloadItem.xib#newcode101 chrome/app/nibs/DownloadItem.xib:101: <action selector="discardDownload:" target="-2" id="114"/> On 2016/07/20 at 18:37:11, Robert ...
4 years, 5 months ago (2016-07-20 19:05:34 UTC) #12
Robert Sesek
https://codereview.chromium.org/2164723002/diff/20001/chrome/app/nibs/DownloadItem.xib File chrome/app/nibs/DownloadItem.xib (right): https://codereview.chromium.org/2164723002/diff/20001/chrome/app/nibs/DownloadItem.xib#newcode101 chrome/app/nibs/DownloadItem.xib:101: <action selector="discardDownload:" target="-2" id="114"/> On 2016/07/20 19:05:33, Jialiu Lin ...
4 years, 5 months ago (2016-07-20 19:57:58 UTC) #13
Jialiu Lin
dismissMaliciousDownload function removed from download_item_controller.h/mm. Thanks for catching this. https://codereview.chromium.org/2164723002/diff/20001/chrome/app/nibs/DownloadItem.xib File chrome/app/nibs/DownloadItem.xib (right): https://codereview.chromium.org/2164723002/diff/20001/chrome/app/nibs/DownloadItem.xib#newcode101 chrome/app/nibs/DownloadItem.xib:101: ...
4 years, 5 months ago (2016-07-20 20:05:59 UTC) #14
Robert Sesek
lgtm
4 years, 5 months ago (2016-07-20 20:14:10 UTC) #17
msw
https://codereview.chromium.org/2164723002/diff/40001/chrome/browser/ui/views/download/download_item_view_md.cc File chrome/browser/ui/views/download/download_item_view_md.cc (left): https://codereview.chromium.org/2164723002/diff/40001/chrome/browser/ui/views/download/download_item_view_md.cc#oldcode979 chrome/browser/ui/views/download/download_item_view_md.cc:979: model_.IsMalicious() ? IDS_DISMISS_DOWNLOAD : IDS_DISCARD_DOWNLOAD; Remove IDS_DISMISS_DOWNLOAD from chrome/app/generated_resources.grd
4 years, 5 months ago (2016-07-20 20:24:32 UTC) #18
Jialiu Lin
Thanks, msw@! https://codereview.chromium.org/2164723002/diff/40001/chrome/browser/ui/views/download/download_item_view_md.cc File chrome/browser/ui/views/download/download_item_view_md.cc (left): https://codereview.chromium.org/2164723002/diff/40001/chrome/browser/ui/views/download/download_item_view_md.cc#oldcode979 chrome/browser/ui/views/download/download_item_view_md.cc:979: model_.IsMalicious() ? IDS_DISMISS_DOWNLOAD : IDS_DISCARD_DOWNLOAD; On 2016/07/20 ...
4 years, 5 months ago (2016-07-20 20:30:02 UTC) #19
msw
lgtm
4 years, 5 months ago (2016-07-20 20:37:54 UTC) #20
Steven Holte
histograms lgtm
4 years, 5 months ago (2016-07-20 23:50:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2164723002/60001
4 years, 5 months ago (2016-07-21 02:09:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2164723002/60001
4 years, 5 months ago (2016-07-22 23:51:13 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-23 00:59:19 UTC) #32
commit-bot: I haz the power
4 years, 5 months ago (2016-07-23 01:02:31 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/388b9dc52751cac09f531aef419c02d642e9bb9c
Cr-Commit-Position: refs/heads/master@{#407324}

Powered by Google App Engine
This is Rietveld 408576698