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

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

Created:
3 years, 11 months ago by dominickn
Modified:
3 years, 11 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2924
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} (cherry picked from commit fc29407956cd9349e12be316b7f0007c9b2471ab) Review-Url: https://codereview.chromium.org/2621513002 . Cr-Commit-Position: refs/branch-heads/2924@{#697} Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059} Committed: https://chromium.googlesource.com/chromium/src/+/124a59b333bd2fefa3b80501c877d0611bd8a7bf

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M chrome/browser/ui/views/external_protocol_dialog.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/external_protocol_dialog.cc View 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
dominickn
3 years, 11 months ago (2017-01-08 22:57:25 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
124a59b333bd2fefa3b80501c877d0611bd8a7bf.

Powered by Google App Engine
This is Rietveld 408576698