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

Issue 2939873004: MD Bookmarks: Fix issue where keyboard shortcuts could fire incorrectly (Closed)

Created:
3 years, 6 months ago by tsergeant
Modified:
3 years, 6 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, michaelpg+watch-md-ui_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Bookmarks: Fix issue where keyboard shortcuts could fire incorrectly MD Bookmarks did not correctly distinguish between a keypress of 'Enter' vs 'Shift-Enter', meaning that someone trying to 'Open in new window' could instead 'Edit' or 'Open', depending on platform. This fixes the issue by moving shortcut handling from iron-a11y-keys to using the standard WebUI Command handlers. BUG=731531 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2939873004 Cr-Commit-Position: refs/heads/master@{#479940} Committed: https://chromium.googlesource.com/chromium/src/+/0292e51a152b3209d4aa203c265a513bf75bc321

Patch Set 1 #

Patch Set 2 : Fix test #

Patch Set 3 : Rebase #

Patch Set 4 : Fix mac test? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -31 lines) Patch
M chrome/browser/resources/md_bookmarks/command_manager.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/command_manager.js View 1 2 7 chunks +32 lines, -20 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/compiled_resources2.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/command_manager_test.js View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M chrome/test/data/webui/md_bookmarks/md_bookmarks_focus_test.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/webui/resources/js/cr/ui/command.js View 4 chunks +33 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (22 generated)
tsergeant
3 years, 6 months ago (2017-06-14 01:51:02 UTC) #6
calamity
lg % mac test.
3 years, 6 months ago (2017-06-15 04:28:40 UTC) #17
tsergeant
Mac test has been fixed (keyboard shortcuts are case-sensitive now)
3 years, 6 months ago (2017-06-15 06:58:26 UTC) #20
calamity
lgtm
3 years, 6 months ago (2017-06-16 03:32:04 UTC) #23
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/2939873004/60001
3 years, 6 months ago (2017-06-16 03:40:01 UTC) #25
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 03:44:50 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/0292e51a152b3209d4aa203c265a...

Powered by Google App Engine
This is Rietveld 408576698