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

Issue 1672983002: Fix download danger prompt buttons/actions. (Closed)

Created:
4 years, 10 months ago by Evan Stade
Modified:
4 years, 10 months ago
Reviewers:
Mike Wittman, sky
CC:
chromium-reviews, asanka, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix download danger prompt buttons/actions. - The default action should start as focused - The default action should be on the right on Linux, left on CrOS/Win - The default action in this case should be caution - The default action should be worded positively ("Be safe" not "Cancel"). Unfortunately this means the UI/presentational concept of cancel/accept is inverted from the model's definition. BUG=583244 Committed: https://crrev.com/bc8d9a61a0f09bedf0ac8d24182751e8a127a1ac Cr-Commit-Position: refs/heads/master@{#374244}

Patch Set 1 #

Patch Set 2 : comment format #

Total comments: 2

Patch Set 3 : fix for tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -71 lines) Patch
M chrome/browser/download/download_danger_prompt.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/download/download_danger_prompt_views.cc View 1 2 5 chunks +20 lines, -27 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 2 2 chunks +2 lines, -19 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view_md.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view_md.cc View 1 2 2 chunks +2 lines, -19 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
Evan Stade
see bug for screenshots with this patch applied
4 years, 10 months ago (2016-02-06 02:02:16 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672983002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672983002/1
4 years, 10 months ago (2016-02-06 02:03:32 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672983002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672983002/20001
4 years, 10 months ago (2016-02-06 02:05:41 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/112632)
4 years, 10 months ago (2016-02-06 02:50:18 UTC) #9
Mike Wittman
lgtm % nit https://codereview.chromium.org/1672983002/diff/20001/chrome/browser/ui/views/download/download_danger_prompt_views.cc File chrome/browser/ui/views/download/download_danger_prompt_views.cc (right): https://codereview.chromium.org/1672983002/diff/20001/chrome/browser/ui/views/download/download_danger_prompt_views.cc#newcode186 chrome/browser/ui/views/download/download_danger_prompt_views.cc:186: bool DownloadDangerPromptViews::Accept() { nit: declaration order ...
4 years, 10 months ago (2016-02-08 17:52:21 UTC) #10
sky
LGTM
4 years, 10 months ago (2016-02-08 18:18:12 UTC) #11
Evan Stade
https://codereview.chromium.org/1672983002/diff/20001/chrome/browser/ui/views/download/download_danger_prompt_views.cc File chrome/browser/ui/views/download/download_danger_prompt_views.cc (right): https://codereview.chromium.org/1672983002/diff/20001/chrome/browser/ui/views/download/download_danger_prompt_views.cc#newcode186 chrome/browser/ui/views/download/download_danger_prompt_views.cc:186: bool DownloadDangerPromptViews::Accept() { On 2016/02/08 17:52:21, Mike Wittman wrote: ...
4 years, 10 months ago (2016-02-08 19:12:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672983002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672983002/40001
4 years, 10 months ago (2016-02-08 19:15:16 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/90336)
4 years, 10 months ago (2016-02-08 19:42:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672983002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672983002/40001
4 years, 10 months ago (2016-02-09 00:24:10 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-09 00:52:28 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 00:54:16 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bc8d9a61a0f09bedf0ac8d24182751e8a127a1ac
Cr-Commit-Position: refs/heads/master@{#374244}

Powered by Google App Engine
This is Rietveld 408576698