forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CrOS: Consolidate keydown handlers in the audio player.
Currently media keys break in tablet mode, but a 'space' keypress in the same mode works fine. Media keys are in a separate handler that probably lost its plumbing when shadow dom was introduced in r592709. Merge the two key handlers into the one that works, and add a test for 'MediaPlayPause'. Adds a mapping for '[' and ']' to control tracks since its easier to test and there's no prior mapping. (Cmd+Shift+][ are next/previous tab in Chrome Mac). Bug: 899094 Change-Id: Ie57b9b0d497b1996566ea3a1842309f0191d8bff Reviewed-on: https://chromium-review.googlesource.com/c/1298820 Reviewed-by: Luciano Pacheco <[email protected]> Commit-Queue: Trent Apted <[email protected]> Cr-Commit-Position: refs/heads/master@{#602965}
- Loading branch information
Showing
3 changed files
with
93 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters