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

Issue 2808053004: Fire accessibilityPrivate events on two-finger hold gesture. (Closed)

Created:
3 years, 8 months ago by dmazzoni
Modified:
3 years, 8 months ago
Reviewers:
oshima, Devlin, Mark P
CC:
chromium-reviews, extensions-reviews_chromium.org, sadrul, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, asvitkine+watch_chromium.org, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank, davemoore+watch_chromium.org, je_julie
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fire accessibilityPrivate events on two-finger hold gesture. ChromeBox for Meetings devices want a way to toggle spoken feedback when the user holds down two fingers. Use existing code that detects this gesture, but instead of toggling directly, fire private events on accessibilityPrivate that they can intercept and then trigger with their own UI and timing. BUG=662501 Review-Url: https://codereview.chromium.org/2808053004 Cr-Commit-Position: refs/heads/master@{#464306} Committed: https://chromium.googlesource.com/chromium/src/+/df9a1e9283950cdbeaccfbd83587d424f4dc2436

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 6

Patch Set 3 : Rebase, fix compile error #

Patch Set 4 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -1 line) Patch
M ash/accessibility_delegate.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M ash/ash_touch_exploration_manager_chromeos.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/ash_touch_exploration_manager_chromeos.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/accessibility_private.json View 1 chunk +12 lines, -0 lines 0 comments Download
M extensions/browser/extension_event_histogram_value.h View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/chromeos/touch_accessibility_enabler.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/chromeos/touch_accessibility_enabler.cc View 2 chunks +4 lines, -1 line 0 comments Download
M ui/chromeos/touch_accessibility_enabler_unittest.cc View 4 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (21 generated)
dmazzoni
oshima: primary review asvitkine: metrics devlin: extensions api
3 years, 8 months ago (2017-04-10 17:33:57 UTC) #4
oshima
can you take a look at test failures? https://codereview.chromium.org/2808053004/diff/20001/ash/default_accessibility_delegate.h File ash/default_accessibility_delegate.h (right): https://codereview.chromium.org/2808053004/diff/20001/ash/default_accessibility_delegate.h#newcode60 ash/default_accessibility_delegate.h:60: void ...
3 years, 8 months ago (2017-04-10 18:32:08 UTC) #11
dmazzoni
https://codereview.chromium.org/2808053004/diff/20001/ui/chromeos/touch_accessibility_enabler.h File ui/chromeos/touch_accessibility_enabler.h (right): https://codereview.chromium.org/2808053004/diff/20001/ui/chromeos/touch_accessibility_enabler.h#newcode39 ui/chromeos/touch_accessibility_enabler.h:39: On 2017/04/10 18:32:08, oshima wrote: > one suggestion. ash ...
3 years, 8 months ago (2017-04-10 18:54:50 UTC) #12
oshima
On 2017/04/10 18:54:50, dmazzoni wrote: > https://codereview.chromium.org/2808053004/diff/20001/ui/chromeos/touch_accessibility_enabler.h > File ui/chromeos/touch_accessibility_enabler.h (right): > > https://codereview.chromium.org/2808053004/diff/20001/ui/chromeos/touch_accessibility_enabler.h#newcode39 > ...
3 years, 8 months ago (2017-04-10 20:19:59 UTC) #13
Devlin
extensions lgtm. It's a rather specific API, but, since it's private, that's probably okay.
3 years, 8 months ago (2017-04-10 21:12:07 UTC) #14
dmazzoni
On 2017/04/10 20:19:59, oshima wrote: > On 2017/04/10 18:54:50, dmazzoni wrote: > > > https://codereview.chromium.org/2808053004/diff/20001/ui/chromeos/touch_accessibility_enabler.h ...
3 years, 8 months ago (2017-04-11 05:48:37 UTC) #15
dmazzoni
Ready for another look. https://codereview.chromium.org/2808053004/diff/20001/ash/default_accessibility_delegate.h File ash/default_accessibility_delegate.h (right): https://codereview.chromium.org/2808053004/diff/20001/ash/default_accessibility_delegate.h#newcode60 ash/default_accessibility_delegate.h:60: void OnTwoFingerTouchStop() override; On 2017/04/10 ...
3 years, 8 months ago (2017-04-11 05:49:40 UTC) #16
dmazzoni
Oshima, any chance you could look today since I'm OOO the rest of the week? ...
3 years, 8 months ago (2017-04-12 21:01:03 UTC) #21
oshima
On 2017/04/11 05:48:37, dmazzoni wrote: > On 2017/04/10 20:19:59, oshima wrote: > > On 2017/04/10 ...
3 years, 8 months ago (2017-04-12 22:21:16 UTC) #22
oshima
lgtm
3 years, 8 months ago (2017-04-12 22:21:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2808053004/60001
3 years, 8 months ago (2017-04-12 22:23:50 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/409730)
3 years, 8 months ago (2017-04-12 22:39:27 UTC) #28
dmazzoni
+mpearson for metrics
3 years, 8 months ago (2017-04-13 04:28:03 UTC) #30
Mark P
histograms.xml lgtm
3 years, 8 months ago (2017-04-13 04:36:23 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2808053004/60001
3 years, 8 months ago (2017-04-13 04:39:37 UTC) #33
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 05:16:06 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/df9a1e9283950cdbeaccfbd83587...

Powered by Google App Engine
This is Rietveld 408576698