-
rbpotter authored
Split KeyboardShortcut and KeyboardShortcutList out of command.js, and update them to use es6 class syntax. These classes do not contain any ui and do not depend on cr.ui.define() so should be straightforward to migrate to Polymer 3, unlike cr.ui.Command itself. Moving them to a separate file allows the FindShortcutBehavior and the bookmarks CommandManager to depend on only keyboard_shortcut_list.js and not on command.js. Bug: 1022213 Change-Id: I5478f7ac5820f5316ff8a07d047bdf20f76210cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1907773 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:
Luciano Pacheco <lucmult@chromium.org> Reviewed-by:
Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#714770}
44bb8fab