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

Issue 2376793002: cocoa browser: bind cmd-opt-l, not cmd-l, for downloads (Closed)

Created:
4 years, 2 months ago by Elly Fong-Jones
Modified:
4 years, 2 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2873
Project:
chromium
Visibility:
Public.

Description

cocoa browser: bind cmd-opt-l, not cmd-l, for downloads A longstanding trap in global_keyboard_shortcuts_mac: if a binding has a character specified instead of a keycode, the option modifier in the command is ignored, which makes sense, since option might be involved in typing the character in the first place. However, it does mean that bindings should never specify opt == true, which is exactly what I did in CL 2369453003. This CL adds a DCHECK to ensure nobody else trips over this. BUG=650528 Review-Url: https://codereview.chromium.org/2373543003 Cr-Commit-Position: refs/heads/master@{#421203} (cherry picked from commit c2af95142ec4aa2f5935921dd681c6351dff9fd6) Committed: https://chromium.googlesource.com/chromium/src/+/c82805b67a152c5b11ee762bea7d6393b2715c7f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M chrome/browser/global_keyboard_shortcuts_mac.mm View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 2 (1 generated)
Elly Fong-Jones
4 years, 2 months ago (2016-09-27 19:02:55 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
c82805b67a152c5b11ee762bea7d6393b2715c7f.

Powered by Google App Engine
This is Rietveld 408576698