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

Issue 330763007: Swipe Gestures for Accessibility (Closed)

Created:
6 years, 6 months ago by lisayin
Modified:
6 years, 5 months ago
Reviewers:
dmazzoni, tdresser, evy, aboxhall
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gesture-vlogs
Project:
chromium
Visibility:
Public.

Description

Swipe Gestures for Accessibility Register that gestures have been received by the touch_exploration_controller in Accessibility Mode. Swipe gestures are registered when the user begins a swipe and completes it before the time out period. If a swipe is successfully completed, the keyboard shortcut <shift>+<search>+direction will called. If the grace period has elapsed, then the mode changes to touch exploration. If an additional finger has been added before the grace period has elapsed, then the mode changes to passthrough. BUG=387304 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281614 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281780

Patch Set 1 #

Patch Set 2 : Cleaned up Vlogging for gestures #

Patch Set 3 : Rebased off Master #

Total comments: 4

Patch Set 4 : Gesture correctly implemented #

Patch Set 5 : Time Out added for Gestures #

Total comments: 9

Patch Set 6 : Added keyboard events and fixed nits #

Total comments: 3

Patch Set 7 : Refactored unittest for gestures and added swipe tests #

Patch Set 8 : Rebase off master #

Total comments: 39

Patch Set 9 : Addressed Comments and formatted file #

Patch Set 10 : Updated overview comments #

Patch Set 11 : Updated Gesture In Progress #

Patch Set 12 : Removed line that Evy was working on #

Total comments: 3

Patch Set 13 : Nit Changes #

Patch Set 14 : Added from gestures to passthrough #

Patch Set 15 : Nit Changes #

Total comments: 20

Patch Set 16 : Addressed Alice's comments and changed how gesture events are processed. #

Total comments: 12

Patch Set 17 : Nit changes #

Patch Set 18 : Rebase off master #

Patch Set 19 : Nit Changes from Alice #

Patch Set 20 : Nit changes #

Patch Set 21 : Modified browser test to bypass gesture mode #

Patch Set 22 : Fixed Debug checks #

Patch Set 23 : Deleted cout #

Patch Set 24 : Rebase off Master #

Patch Set 25 : Rebase off master #

Patch Set 26 : Fixed Memory Leak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+538 lines, -81 lines) Patch
M chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +47 lines, -8 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 10 chunks +49 lines, -3 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 16 chunks +172 lines, -30 lines 0 comments Download
M ui/chromeos/touch_exploration_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 49 chunks +270 lines, -40 lines 0 comments Download

Messages

Total messages: 53 (0 generated)
lisayin
Hacked gesture_provider_aura to get OnGestures in touch_exploration_controller to register gestures. Some questions I have: How ...
6 years, 6 months ago (2014-06-19 23:02:51 UTC) #1
tdresser
On 2014/06/19 23:02:51, lisayin wrote: > Hacked gesture_provider_aura to get OnGestures in touch_exploration_controller > to ...
6 years, 6 months ago (2014-06-19 23:14:45 UTC) #2
dmazzoni
Lisa, it looks like you may have uploaded a diff relative to one of your ...
6 years, 6 months ago (2014-06-19 23:22:15 UTC) #3
tdresser
On 2014/06/19 23:22:15, dmazzoni wrote: > Lisa, it looks like you may have uploaded a ...
6 years, 6 months ago (2014-06-19 23:47:46 UTC) #4
lisayin
On 2014/06/19 23:47:46, tdresser wrote: > On 2014/06/19 23:22:15, dmazzoni wrote: > > Lisa, it ...
6 years, 6 months ago (2014-06-20 16:22:57 UTC) #5
dmazzoni
https://codereview.chromium.org/330763007/diff/40001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/40001/ui/chromeos/touch_exploration_controller.cc#newcode197 ui/chromeos/touch_exploration_controller.cc:197: gesture_provider_.OnTouchEvent(event); I think you're forwarding the same event to ...
6 years, 6 months ago (2014-06-20 16:26:54 UTC) #6
lisayin
https://codereview.chromium.org/330763007/diff/40001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/40001/ui/chromeos/touch_exploration_controller.cc#newcode197 ui/chromeos/touch_exploration_controller.cc:197: gesture_provider_.OnTouchEvent(event); On 2014/06/20 16:26:54, dmazzoni wrote: > I think ...
6 years, 6 months ago (2014-06-20 21:34:39 UTC) #7
tdresser
On 2014/06/20 21:34:39, lisayin wrote: > https://codereview.chromium.org/330763007/diff/40001/ui/chromeos/touch_exploration_controller.cc > File ui/chromeos/touch_exploration_controller.cc (right): > > https://codereview.chromium.org/330763007/diff/40001/ui/chromeos/touch_exploration_controller.cc#newcode197 > ...
6 years, 6 months ago (2014-06-20 21:39:07 UTC) #8
tdresser
On 2014/06/20 21:39:07, tdresser wrote: > On 2014/06/20 21:34:39, lisayin wrote: > > > https://codereview.chromium.org/330763007/diff/40001/ui/chromeos/touch_exploration_controller.cc ...
6 years, 6 months ago (2014-06-20 21:54:32 UTC) #9
lisayin
Fixed the original problems with gestures and only register gestures that finish before the timer ...
6 years, 6 months ago (2014-06-21 01:45:38 UTC) #10
dmazzoni
https://codereview.chromium.org/330763007/diff/80001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/80001/ui/chromeos/touch_exploration_controller.cc#newcode195 ui/chromeos/touch_exploration_controller.cc:195: // If the user moves fast enough and far ...
6 years, 6 months ago (2014-06-23 15:50:45 UTC) #11
lisayin
https://codereview.chromium.org/330763007/diff/80001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/80001/ui/chromeos/touch_exploration_controller.cc#newcode313 ui/chromeos/touch_exploration_controller.cc:313: gesture_provider_.OnTouchEvent(event); On 2014/06/23 15:50:44, dmazzoni wrote: > If you're ...
6 years, 6 months ago (2014-06-23 16:48:43 UTC) #12
lisayin
Added a keyboard event to dispatch when a swipe is successfully completed.
6 years, 6 months ago (2014-06-23 18:22:36 UTC) #13
dmazzoni
The keyboard events are looking good https://codereview.chromium.org/330763007/diff/100001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/100001/ui/chromeos/touch_exploration_controller.cc#newcode457 ui/chromeos/touch_exploration_controller.cc:457: VLOG(0) << " ...
6 years, 6 months ago (2014-06-23 18:37:26 UTC) #14
lisayin
Uploaded refactoring for unittest and unittests for swipe.
6 years, 6 months ago (2014-06-25 00:28:18 UTC) #15
dmazzoni
Almost there! Would love to see an lgtm from tdresser too. https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): ...
6 years, 6 months ago (2014-06-25 05:06:02 UTC) #16
tdresser
https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc#newcode203 ui/chromeos/touch_exploration_controller.cc:203: if (delta_distance > gesture_detector_config_.touch_slop) { Invert this condition to ...
6 years, 6 months ago (2014-06-25 14:48:41 UTC) #17
dmazzoni
https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc#newcode556 ui/chromeos/touch_exploration_controller.cc:556: OnGestureEvent(*i); On 2014/06/25 14:48:40, tdresser wrote: > Just making ...
6 years, 6 months ago (2014-06-25 15:39:44 UTC) #18
tdresser
https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc#newcode556 ui/chromeos/touch_exploration_controller.cc:556: OnGestureEvent(*i); On 2014/06/25 15:39:44, dmazzoni wrote: > On 2014/06/25 ...
6 years, 6 months ago (2014-06-25 15:57:31 UTC) #19
tdresser
https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc#newcode556 ui/chromeos/touch_exploration_controller.cc:556: OnGestureEvent(*i); On 2014/06/25 15:57:31, tdresser wrote: > On 2014/06/25 ...
6 years, 6 months ago (2014-06-25 16:06:13 UTC) #20
lisayin
https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/140001/ui/chromeos/touch_exploration_controller.cc#newcode203 ui/chromeos/touch_exploration_controller.cc:203: if (delta_distance > gesture_detector_config_.touch_slop) { On 2014/06/25 14:48:40, tdresser ...
6 years, 6 months ago (2014-06-25 22:51:06 UTC) #21
evy
https://codereview.chromium.org/330763007/diff/220001/ui/chromeos/touch_exploration_controller_unittest.cc File ui/chromeos/touch_exploration_controller_unittest.cc (right): https://codereview.chromium.org/330763007/diff/220001/ui/chromeos/touch_exploration_controller_unittest.cc#newcode104 ui/chromeos/touch_exploration_controller_unittest.cc:104: if (all_events[i]->IsMouseEvent() || all_events[i]->IsTouchEvent() || A previous comment from ...
6 years, 6 months ago (2014-06-26 00:02:36 UTC) #22
tdresser
LGTM https://codereview.chromium.org/330763007/diff/220001/ui/chromeos/touch_exploration_controller.h File ui/chromeos/touch_exploration_controller.h (right): https://codereview.chromium.org/330763007/diff/220001/ui/chromeos/touch_exploration_controller.h#newcode30 ui/chromeos/touch_exploration_controller.h:30: // make the touch UI accessible. Gestures are ...
6 years, 6 months ago (2014-06-26 13:31:49 UTC) #23
dmazzoni
lgtm
6 years, 6 months ago (2014-06-26 17:41:47 UTC) #24
lisayin
GestureInProgress now changes to Evy's implemented passthrough mode once additional fingers have been added before ...
6 years, 5 months ago (2014-07-02 15:52:17 UTC) #25
aboxhall
FYI only (i.e. this shouldn't block committing). Haven't looked at the test yet. https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc File ...
6 years, 5 months ago (2014-07-02 16:45:58 UTC) #26
lisayin
https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc#newcode57 ui/chromeos/touch_exploration_controller.cc:57: bool TouchExplorationController::IsInGestureInProgressStateForTesting() const { On 2014/07/02 16:45:57, aboxhall wrote: ...
6 years, 5 months ago (2014-07-02 17:09:50 UTC) #27
lisayin
https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc#newcode198 ui/chromeos/touch_exploration_controller.cc:198: float delta_distance = On 2014/07/02 16:45:57, aboxhall wrote: > ...
6 years, 5 months ago (2014-07-02 17:19:44 UTC) #28
aboxhall
lgtm Nice tests! Just a few nits. https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc#newcode57 ui/chromeos/touch_exploration_controller.cc:57: bool TouchExplorationController::IsInGestureInProgressStateForTesting() ...
6 years, 5 months ago (2014-07-02 18:00:14 UTC) #29
tdresser
On 2014/07/02 17:19:44, lisayin wrote: > https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc > File ui/chromeos/touch_exploration_controller.cc (right): > > https://codereview.chromium.org/330763007/diff/280001/ui/chromeos/touch_exploration_controller.cc#newcode198 > ...
6 years, 5 months ago (2014-07-02 18:00:58 UTC) #30
lisayin
https://codereview.chromium.org/330763007/diff/300001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/330763007/diff/300001/ui/chromeos/touch_exploration_controller.cc#newcode556 ui/chromeos/touch_exploration_controller.cc:556: if (gestures) { On 2014/07/02 18:00:13, aboxhall wrote: > ...
6 years, 5 months ago (2014-07-02 18:21:05 UTC) #31
aboxhall
lgtm
6 years, 5 months ago (2014-07-02 18:28:18 UTC) #32
dmazzoni
lgtm
6 years, 5 months ago (2014-07-02 18:47:46 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lisayin@chromium.org/330763007/380001
6 years, 5 months ago (2014-07-02 18:48:55 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 20:45:56 UTC) #35
lisayin
The CQ bit was unchecked by lisayin@chromium.org
6 years, 5 months ago (2014-07-02 21:02:10 UTC) #36
lisayin
Modified touch_exploration_controller_browsertest.cc to bypass GestureInProgress and enter TouchExploration to pass tests.
6 years, 5 months ago (2014-07-02 23:34:57 UTC) #37
lisayin
The CQ bit was checked by lisayin@chromium.org
6 years, 5 months ago (2014-07-02 23:51:54 UTC) #38
lisayin
The CQ bit was unchecked by lisayin@chromium.org
6 years, 5 months ago (2014-07-02 23:51:56 UTC) #39
lisayin
I've fixed the tests so that the new implementation of gestures will pass the debug ...
6 years, 5 months ago (2014-07-07 17:59:28 UTC) #40
lisayin
The CQ bit was checked by lisayin@chromium.org
6 years, 5 months ago (2014-07-07 19:38:24 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lisayin@chromium.org/330763007/460001
6 years, 5 months ago (2014-07-07 19:39:49 UTC) #42
lisayin
The CQ bit was unchecked by lisayin@chromium.org
6 years, 5 months ago (2014-07-07 19:46:06 UTC) #43
lisayin
The CQ bit was checked by lisayin@chromium.org
6 years, 5 months ago (2014-07-07 19:55:55 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lisayin@chromium.org/330763007/480001
6 years, 5 months ago (2014-07-07 19:57:46 UTC) #45
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-07 23:20:21 UTC) #46
commit-bot: I haz the power
Change committed as 281614
6 years, 5 months ago (2014-07-08 00:42:18 UTC) #47
hashimoto
A revert of this CL has been created in https://codereview.chromium.org/372173002/ by hashimoto@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-08 03:59:06 UTC) #48
lisayin
The CQ bit was checked by lisayin@chromium.org
6 years, 5 months ago (2014-07-08 16:14:27 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lisayin@chromium.org/330763007/500001
6 years, 5 months ago (2014-07-08 16:15:54 UTC) #50
lisayin
The CQ bit was checked by lisayin@chromium.org
6 years, 5 months ago (2014-07-08 18:19:20 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lisayin@chromium.org/330763007/500001
6 years, 5 months ago (2014-07-08 18:20:20 UTC) #52
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 19:00:40 UTC) #53
Message was sent while issue was closed.
Change committed as 281780

Powered by Google App Engine
This is Rietveld 408576698