DescriptionBegin whitelisting specific extensions for global key registration.
Adds whitelist to commands API to relax restrictions on:
- global accelerator keys
- maximum number of commands
- override previously taken accelerators
This cl also involved fixing the use of the search key while using the global commands listener. The 'command' modifier was being dropped while making its way to the renderer and back.
BUG=404768
TEST=With a sample extension binding
"Search+Shift+L" and
"global": true
press and verify callback when
focus is inside of web content
focus is on the status tray
Committed: https://crrev.com/28ba7f5f7ba661275a7bf6081b2e21a2270f25eb
Cr-Commit-Position: refs/heads/master@{#291628}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Update cl with new permission "commands.accessibility". #
Total comments: 16
Patch Set 3 : fix nits; rebase #
Total comments: 2
Patch Set 4 : Fix rebase. #
Total comments: 2
Patch Set 5 : Add bug. #
Total comments: 1
Patch Set 6 : Fix tests. #
Messages
Total messages: 21 (0 generated)
|