DescriptionMake touch accessibility gestures work with ChromeVox Next
When spoken feedback is enabled, Chrome OS enables a touch exploration
controller that lets the user explore items on the screen without accidentally
clicking on them. It also captures swipe gestures, and previously it simply
rewrote the swipe gestures into key events to control ChromeVox, but that was
a hacky solution, and didn't work with ChromeVox Next (which uses different
key events).
Fix this by defining an enum for all of the possible accessibility gestures
(allowing for future non-swipe gestures), pass them through to ChromeVox via
a accessibilityPrivate API, and then map them directly to ChromeVox commands.
Note that this change temporarily loses a few of the gesture bindings that
worked previously, but those weren't meant to be set in stone and we will
probably rethink many of them.
BUG=513713
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/82ef29a0d6470bf6d83f00bba15ca4d4c8835930
Cr-Commit-Position: refs/heads/master@{#392772}
Patch Set 1 #
Total comments: 30
Patch Set 2 : Address feedback #
Total comments: 6
Patch Set 3 : Rebase #
Total comments: 2
Patch Set 4 : Address feedback from Oshima #Patch Set 5 : Add enum to api #Patch Set 6 : Revert unrelated change #Patch Set 7 : Rebase #
Total comments: 1
Depends on Patchset: Messages
Total messages: 30 (13 generated)
|