Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Issue 1953613002: Make touch accessibility gestures work with ChromeVox Next (Closed)

Created:
4 years, 7 months ago by dmazzoni
Modified:
4 years, 7 months ago
CC:
aboxhall+watch_chromium.org, arv+watch_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, davemoore+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, extensions-reviews_chromium.org, je_julie, kalyank, nektar+watch_chromium.org, oshima+watch_chromium.org, sadrul, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -209 lines) Patch
M ash/accessibility_delegate.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ash/ash_touch_exploration_manager_chromeos.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_touch_exploration_manager_chromeos.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M ash/default_accessibility_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/default_accessibility_delegate.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/background/externs.js View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 1 2 3 chunks +76 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/accessibility_private.json View 1 2 3 4 3 chunks +18 lines, -0 lines 0 comments Download
M extensions/browser/extension_event_histogram_value.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/accessibility/ax_enums.idl View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 1 comment Download
M ui/chromeos/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.h View 1 5 chunks +5 lines, -18 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.cc View 1 6 chunks +73 lines, -94 lines 0 comments Download
M ui/chromeos/touch_exploration_controller_unittest.cc View 1 2 3 5 chunks +55 lines, -94 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (13 generated)
dmazzoni
David, please do an initial review of everything here, then I'll need to get several ...
4 years, 7 months ago (2016-05-04 23:19:54 UTC) #3
David Tseng
Great to see this change. We should continue to talk about double tap. https://codereview.chromium.org/1953613002/diff/1/ash/accessibility_delegate.h File ...
4 years, 7 months ago (2016-05-05 22:30:39 UTC) #4
dmazzoni
Ready for owners review: oshima: ash/, ui/chromeos/ asargent: chrome/common/extensions/api/ asvitkine: *histograms* https://codereview.chromium.org/1953613002/diff/1/ash/accessibility_delegate.h File ash/accessibility_delegate.h (right): ...
4 years, 7 months ago (2016-05-06 19:06:09 UTC) #6
Alexei Svitkine (slow)
histograms lgtm, didn't look at anything else
4 years, 7 months ago (2016-05-06 19:15:35 UTC) #7
oshima
lgtm with nits https://codereview.chromium.org/1953613002/diff/20001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/1953613002/diff/20001/ui/chromeos/touch_exploration_controller.cc#newcode888 ui/chromeos/touch_exploration_controller.cc:888: default: qq: this (5 fingers or ...
4 years, 7 months ago (2016-05-06 19:43:50 UTC) #8
David Tseng
lgtm
4 years, 7 months ago (2016-05-09 17:35:20 UTC) #9
dmazzoni
https://codereview.chromium.org/1953613002/diff/20001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/1953613002/diff/20001/ui/chromeos/touch_exploration_controller.cc#newcode888 ui/chromeos/touch_exploration_controller.cc:888: default: On 2016/05/06 19:43:50, oshima wrote: > qq: this ...
4 years, 7 months ago (2016-05-09 18:07:08 UTC) #10
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/1953613002/diff/40001/chrome/common/extensions/api/accessibility_private.json File chrome/common/extensions/api/accessibility_private.json (right): https://codereview.chromium.org/1953613002/diff/40001/chrome/common/extensions/api/accessibility_private.json#newcode93 chrome/common/extensions/api/accessibility_private.json:93: "type": "string" optional suggestion: since the values of ...
4 years, 7 months ago (2016-05-09 19:04:55 UTC) #11
dmazzoni
https://codereview.chromium.org/1953613002/diff/40001/chrome/common/extensions/api/accessibility_private.json File chrome/common/extensions/api/accessibility_private.json (right): https://codereview.chromium.org/1953613002/diff/40001/chrome/common/extensions/api/accessibility_private.json#newcode93 chrome/common/extensions/api/accessibility_private.json:93: "type": "string" On 2016/05/09 19:04:54, Antony Sargent wrote: > ...
4 years, 7 months ago (2016-05-09 20:03:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953613002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953613002/80001
4 years, 7 months ago (2016-05-09 20:04:38 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/179917)
4 years, 7 months ago (2016-05-09 20:13:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953613002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953613002/100001
4 years, 7 months ago (2016-05-10 20:00:00 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/3254) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-10 20:03:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953613002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953613002/120001
4 years, 7 months ago (2016-05-10 22:02:47 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-10 23:38:05 UTC) #26
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/82ef29a0d6470bf6d83f00bba15ca4d4c8835930 Cr-Commit-Position: refs/heads/master@{#392772}
4 years, 7 months ago (2016-05-10 23:39:47 UTC) #28
dcheng
4 years, 7 months ago (2016-05-11 01:24:59 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/1953613002/diff/120001/ui/accessibility/ax_en...
File ui/accessibility/ax_enums.idl (right):

https://codereview.chromium.org/1953613002/diff/120001/ui/accessibility/ax_en...
ui/accessibility/ax_enums.idl:493: swipe_down_4,
FWIW, something is complaining about trailing commas:
[100/10377] ACTION
//ui/accessibility:ax_gen_schema_generator(//build/toolchain/linux:clang_x64)
../../ui/accessibility/ax_enums.idl(494) : Error : Trailing comma in block.

Though it seems like the error might be advisory? My build hasn't failed yet...

Powered by Google App Engine
This is Rietveld 408576698