forked from Pissandshittium/pissandshittium
-
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.
Accelerators: Implement positional accelerator map
- Pull a thin wrapper over std::map<Accelerator, V> out to a separate class - Allow the map to enable and disable positional lookup on Chrome OS - Add functions to map the positional keys back and forth - In this CL positional lookup is still disabled so this has no effect on behavior - Add tests for AcceleratorMap for positional use cases Bug: 1174326 Test: ui_base_unittests --gtest_filter=AcceleratorManagerTest.* Change-Id: I310d67792b7f5259c6962da598010f2e98b406c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2792525 Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#870862}
- Loading branch information
Zentaro Kavanagh
authored and
Chromium LUCI CQ
committed
Apr 9, 2021
1 parent
f310c2b
commit ece542b
Showing
14 changed files
with
583 additions
and
65 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
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
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
Oops, something went wrong.