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

Issue 2559783003: Don't treat Esc like Cancel in the external protocol dialog on Views. (Closed)

Created:
4 years ago by dominickn
Modified:
3 years, 11 months ago
Reviewers:
msw
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't treat Esc like Cancel in the external protocol dialog on Views. By default, closing a dialog on Views using the Esc key behaves as if the secondary button was pressed. In the external protocol handler, this can create a state where the user inadvertently blocks external protocol launching for a particular scheme with no way to allow them again. This occurs when they tick the checkbox to always open links, but then use Esc to close the dialog. Until UI to edit external protocol settings is implemented, this permanently prevents any dialogs from the page for that scheme. This CL addresses part of the bug by ensuring that closing the external protocol dialog without interacting with the buttons ignores the checkbox state. BUG=671658 Review-Url: https://codereview.chromium.org/2559783003 Cr-Commit-Position: refs/heads/master@{#441863} Committed: https://chromium.googlesource.com/chromium/src/+/fc29407956cd9349e12be316b7f0007c9b2471ab

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment #

Messages

Total messages: 17 (10 generated)
dominickn
PTAL, thanks!
4 years ago (2016-12-08 08:58:51 UTC) #6
msw
https://codereview.chromium.org/2559783003/diff/1/chrome/browser/ui/views/external_protocol_dialog.cc File chrome/browser/ui/views/external_protocol_dialog.cc (right): https://codereview.chromium.org/2559783003/diff/1/chrome/browser/ui/views/external_protocol_dialog.cc#newcode104 chrome/browser/ui/views/external_protocol_dialog.cc:104: bool ExternalProtocolDialog::Close() { Add a comment in the function ...
4 years ago (2016-12-08 21:37:48 UTC) #9
dominickn
On 2016/12/08 21:37:48, msw wrote: > https://codereview.chromium.org/2559783003/diff/1/chrome/browser/ui/views/external_protocol_dialog.cc > File chrome/browser/ui/views/external_protocol_dialog.cc (right): > > https://codereview.chromium.org/2559783003/diff/1/chrome/browser/ui/views/external_protocol_dialog.cc#newcode104 > ...
4 years ago (2016-12-12 02:06:21 UTC) #10
msw
On 2016/12/12 02:06:21, dominickn wrote: > On 2016/12/08 21:37:48, msw wrote: > > > https://codereview.chromium.org/2559783003/diff/1/chrome/browser/ui/views/external_protocol_dialog.cc ...
4 years ago (2016-12-12 18:30:28 UTC) #11
dominickn
message: On 2016/12/12 18:30:28, msw wrote: > On 2016/12/12 02:06:21, dominickn wrote: > > Thanks. ...
4 years ago (2016-12-15 05:15:23 UTC) #12
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/2559783003/20001
3 years, 11 months ago (2017-01-06 02:42:17 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 03:27:46 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/fc29407956cd9349e12be316b7f0...

Powered by Google App Engine
This is Rietveld 408576698