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

Issue 1953943003: In dialogs & dialog-like bubbles, make the escape button just close (Closed)

Created:
4 years, 7 months ago by Evan Stade
Modified:
4 years, 7 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

In dialogs & dialog-like bubbles, make the escape button just close the prompt. Previously, the escape button would activate the negative button, which was relevant if that button did anything extra in addition to closing the prompt. This intentionally changes the permissions bubble (back to what it was before) as well as the bookmark bubble (now escape doesn't remove a new bookmark). Other bubbles may be affected and those changes are *probably* desired. UX contacts for this decision are hwi@ and ainslie@ BUG=609079, 163931 Committed: https://crrev.com/0bf4ced694bba0aeb3ba518c7fe8435bc9018674 Cr-Commit-Position: refs/heads/master@{#392708}

Patch Set 1 #

Patch Set 2 : unit test #

Patch Set 3 : fix ssl cert selector #

Patch Set 4 : self review #

Total comments: 8

Patch Set 5 : elaborate test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -45 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc View 3 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector.h View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector.cc View 1 2 3 4 3 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M ui/views/window/dialog_client_view.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/views/window/dialog_delegate_unittest.cc View 1 2 3 4 5 chunks +19 lines, -8 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
Evan Stade
4 years, 7 months ago (2016-05-06 18:12:55 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/1953943003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953943003/1
4 years, 7 months ago (2016-05-06 18:13:39 UTC) #6
sky
LGTM
4 years, 7 months ago (2016-05-06 21:29:58 UTC) #7
Evan Stade
PTAL additional changes to chrome/browser/ui/views/ssl_client_certificate_selector*
4 years, 7 months ago (2016-05-09 18:28:44 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953943003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953943003/40001
4 years, 7 months ago (2016-05-09 18:29:42 UTC) #11
Evan Stade
On 2016/05/09 18:28:44, Evan Stade wrote: > PTAL additional changes to > chrome/browser/ui/views/ssl_client_certificate_selector* ping --- ...
4 years, 7 months ago (2016-05-10 16:56:44 UTC) #12
Evan Stade
sky is ooo, msw could you ptal chrome/browser/ui/views/ssl_client_certificate_selector*
4 years, 7 months ago (2016-05-10 17:07:58 UTC) #14
msw
https://codereview.chromium.org/1953943003/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc (left): https://codereview.chromium.org/1953943003/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc#oldcode146 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc:146: if (key_code == ui::VKEY_ESCAPE) { This is the one ...
4 years, 7 months ago (2016-05-10 18:23:32 UTC) #15
Evan Stade
Regarding the behavior change, we had a meeting about this that included hwi, ainslie, zkoch, ...
4 years, 7 months ago (2016-05-10 18:46:55 UTC) #16
msw
On 2016/05/10 18:46:55, Evan Stade wrote: > Regarding the behavior change, we had a meeting ...
4 years, 7 months ago (2016-05-10 19:16:06 UTC) #17
Evan Stade
https://codereview.chromium.org/1953943003/diff/60001/chrome/browser/ui/views/ssl_client_certificate_selector.cc File chrome/browser/ui/views/ssl_client_certificate_selector.cc (right): https://codereview.chromium.org/1953943003/diff/60001/chrome/browser/ui/views/ssl_client_certificate_selector.cc#newcode59 chrome/browser/ui/views/ssl_client_certificate_selector.cc:59: CertificateSelected(nullptr); On 2016/05/10 18:23:32, msw wrote: > nit: maybe ...
4 years, 7 months ago (2016-05-10 19:27:36 UTC) #18
msw
lgtm
4 years, 7 months ago (2016-05-10 19:38:36 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953943003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953943003/80001
4 years, 7 months ago (2016-05-10 19:40:48 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-10 20:53:18 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 20:55:10 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0bf4ced694bba0aeb3ba518c7fe8435bc9018674
Cr-Commit-Position: refs/heads/master@{#392708}

Powered by Google App Engine
This is Rietveld 408576698