cros: Toggle shortcut view by the same shortcut
This cl adds the support to toggle the shortcut view by the same shortcut: Ctrl + Alt + /: 1. If the KSH window is active, close it. 2. Otherwise, open it (if it's not open already) or activate it (if it's open but not active). Bug: 819815 Test: New unit test KeyboardShortcutViewTest.ToggleWindow Change-Id: Icbc9fba5644208750d1632b7473c66f53b923a80 Reviewed-on: https://chromium-review.googlesource.com/1073101Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Reviewed-by:
Michael Wasserman <msw@chromium.org> Commit-Queue: Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#562018}
Showing
Please register or sign in to comment