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

Issue 385073009: Side Slide Gestures for Accessibility (Closed)

Created:
6 years, 5 months ago by lisayin
Modified:
6 years, 5 months ago
CC:
evy_chromium.com, chromium-reviews, kalyank, stevenjb+watch_chromium.org, oshima+watch_chromium.org, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Added side slide gestures to touch exploration controller. The user can control settings that might be normally changed using sliders by sliding along the edge of the screen when ChromeVox is on. For example, the user can slide along the right edge of the screen and adjust the volume. If the user enters this mode and leaves the boundaries without releasing their touch, they will stop adjusting the setting, however, they will not enter touch exploration. If they return to the given boundaries, they will be able to modify the setting again. If the user does not touch a "hot edge" of the screen, they will not enter this state if they move to the an of the screen. BUG=393326 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284819 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285149

Patch Set 1 #

Patch Set 2 : Added Tests for Slide Gestures #

Total comments: 24

Patch Set 3 : Addressed comments except for making new files #

Patch Set 4 : Separated CrosAcessibilityObserver into own files #

Total comments: 25

Patch Set 5 : Addressed Comments #

Total comments: 18

Patch Set 6 : Added Unittest for touch exploration manager #

Total comments: 15

Patch Set 7 : Addressed comments #

Total comments: 32

Patch Set 8 : Renamed unittest file #

Patch Set 9 : Addressed Comments #

Patch Set 10 : Running try tests #

Patch Set 11 : Fixed TouchExploration Not Turning On #

Total comments: 8

Patch Set 12 : Rebase Off Master #

Patch Set 13 : Addressed Comments #

Total comments: 28

Patch Set 14 : Addressed Comments #

Total comments: 8

Patch Set 15 : Addressed Comments #

Patch Set 16 : Nit fix #

Patch Set 17 : Fixed Memory leak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+703 lines, -75 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -0 lines 0 comments Download
A ash/ash_touch_exploration_manager_chromeos.h View 1 2 3 4 5 6 7 1 chunk +52 lines, -0 lines 0 comments Download
A ash/ash_touch_exploration_manager_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +78 lines, -0 lines 0 comments Download
A ash/ash_touch_exploration_manager_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +39 lines, -0 lines 0 comments Download
M ash/root_window_controller.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +4 lines, -52 lines 0 comments Download
M chrome/browser/ui/ash/volume_controller_chromeos.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromeos/audio/cras_audio_handler.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromeos/audio/cras_audio_handler.cc View 1 2 1 chunk +1 line, -1 line 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 10 chunks +89 lines, -4 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 15 chunks +183 lines, -10 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 8 chunks +250 lines, -4 lines 0 comments Download

Messages

Total messages: 45 (0 generated)
lisayin
Implementation for side slide gestures. Does not include tests and test refactoring yet.
6 years, 5 months ago (2014-07-11 20:58:58 UTC) #1
lisayin
Added Tests for Side Slide gestures.
6 years, 5 months ago (2014-07-14 16:42:29 UTC) #2
lisayin
+James Cook for reviewer
6 years, 5 months ago (2014-07-14 16:43:32 UTC) #3
James Cook
I only looked at ash/*. dmazzoni might be a better reviewer for the touch_exploration* parts. ...
6 years, 5 months ago (2014-07-14 17:19:31 UTC) #4
dmazzoni
This is really cool. Some initial comments. https://codereview.chromium.org/385073009/diff/20001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/385073009/diff/20001/ash/root_window_controller.cc#newcode271 ash/root_window_controller.cc:271: class CrosAccessibilityObserver ...
6 years, 5 months ago (2014-07-14 18:00:34 UTC) #5
lisayin
https://codereview.chromium.org/385073009/diff/20001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/385073009/diff/20001/ash/root_window_controller.cc#newcode55 ash/root_window_controller.cc:55: #include "chromeos/audio/chromeos_sounds.h" On 2014/07/14 17:19:31, James Cook wrote: > ...
6 years, 5 months ago (2014-07-14 22:38:38 UTC) #6
lisayin
https://codereview.chromium.org/385073009/diff/20001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/385073009/diff/20001/ash/root_window_controller.cc#newcode271 ash/root_window_controller.cc:271: class CrosAccessibilityObserver On 2014/07/14 18:00:33, dmazzoni wrote: > On ...
6 years, 5 months ago (2014-07-14 22:40:36 UTC) #7
James Cook
On 2014/07/14 22:40:36, lisayin wrote: > https://codereview.chromium.org/385073009/diff/20001/ash/root_window_controller.cc > File ash/root_window_controller.cc (right): > > https://codereview.chromium.org/385073009/diff/20001/ash/root_window_controller.cc#newcode271 > ...
6 years, 5 months ago (2014-07-14 22:55:35 UTC) #8
lisayin
Separated CrosAccessibilityObserver into its own files.
6 years, 5 months ago (2014-07-15 17:18:47 UTC) #9
dmazzoni
On 2014/07/14 22:55:35, James Cook wrote: > dmazzoni, do you think we'll eventually want this ...
6 years, 5 months ago (2014-07-15 17:52:37 UTC) #10
dmazzoni
https://codereview.chromium.org/385073009/diff/60001/ash/ash_touch_exploration_manager_chromeos.h File ash/ash_touch_exploration_manager_chromeos.h (right): https://codereview.chromium.org/385073009/diff/60001/ash/ash_touch_exploration_manager_chromeos.h#newcode23 ash/ash_touch_exploration_manager_chromeos.h:23: class CrosAccessibilityObserver This class name should match the file ...
6 years, 5 months ago (2014-07-15 18:04:02 UTC) #11
James Cook
https://codereview.chromium.org/385073009/diff/60001/ash/ash_touch_exploration_manager_chromeos.cc File ash/ash_touch_exploration_manager_chromeos.cc (right): https://codereview.chromium.org/385073009/diff/60001/ash/ash_touch_exploration_manager_chromeos.cc#newcode9 ash/ash_touch_exploration_manager_chromeos.cc:9: #include "ash/shell_delegate.h" Do you need this include? Or ash/accessibility_delegate.h? ...
6 years, 5 months ago (2014-07-15 18:21:57 UTC) #12
lisayin
https://codereview.chromium.org/385073009/diff/60001/ash/ash_touch_exploration_manager_chromeos.h File ash/ash_touch_exploration_manager_chromeos.h (right): https://codereview.chromium.org/385073009/diff/60001/ash/ash_touch_exploration_manager_chromeos.h#newcode23 ash/ash_touch_exploration_manager_chromeos.h:23: class CrosAccessibilityObserver On 2014/07/15 18:04:01, dmazzoni wrote: > This ...
6 years, 5 months ago (2014-07-15 18:47:43 UTC) #13
lisayin
+derat I've modified the name of a function in cras_audio_handler.
6 years, 5 months ago (2014-07-15 18:49:11 UTC) #14
Daniel Erat
lgtm heh. don't think that that was my typo, but i heartily approve of changes ...
6 years, 5 months ago (2014-07-15 19:48:04 UTC) #15
James Cook
On 2014/07/15 19:48:04, Daniel Erat wrote: > lgtm > > heh. don't think that that ...
6 years, 5 months ago (2014-07-15 19:49:08 UTC) #16
James Cook
Almost there! https://codereview.chromium.org/385073009/diff/80001/ash/ash_touch_exploration_manager_chromeos.cc File ash/ash_touch_exploration_manager_chromeos.cc (right): https://codereview.chromium.org/385073009/diff/80001/ash/ash_touch_exploration_manager_chromeos.cc#newcode1 ash/ash_touch_exploration_manager_chromeos.cc:1: // Copyright (c) 2012 The Chromium Authors. ...
6 years, 5 months ago (2014-07-15 19:58:11 UTC) #17
lisayin
https://codereview.chromium.org/385073009/diff/60001/ash/ash_touch_exploration_manager_chromeos.cc File ash/ash_touch_exploration_manager_chromeos.cc (right): https://codereview.chromium.org/385073009/diff/60001/ash/ash_touch_exploration_manager_chromeos.cc#newcode9 ash/ash_touch_exploration_manager_chromeos.cc:9: #include "ash/shell_delegate.h" On 2014/07/15 18:21:57, James Cook wrote: > ...
6 years, 5 months ago (2014-07-15 21:46:45 UTC) #18
lisayin
jamescook, PTAL
6 years, 5 months ago (2014-07-15 21:47:24 UTC) #19
James Cook
Almost almost there! Hopefully you don't feel like this guy: https://memegen.googleplex.com/1065167 https://codereview.chromium.org/385073009/diff/80001/ash/ash_touch_exploration_manager_chromeos.cc File ash/ash_touch_exploration_manager_chromeos.cc (right): ...
6 years, 5 months ago (2014-07-15 22:40:37 UTC) #20
lisayin
https://codereview.chromium.org/385073009/diff/100001/ash/ash_touch_exploration_manager_unittest.cc File ash/ash_touch_exploration_manager_unittest.cc (right): https://codereview.chromium.org/385073009/diff/100001/ash/ash_touch_exploration_manager_unittest.cc#newcode13 ash/ash_touch_exploration_manager_unittest.cc:13: namespace test { On 2014/07/15 22:40:36, James Cook wrote: ...
6 years, 5 months ago (2014-07-15 23:54:46 UTC) #21
James Cook
ash/* LGTM with one nit to fix before committing Nice patch! https://codereview.chromium.org/385073009/diff/120001/ash/ash_touch_exploration_manager_unittest.cc File ash/ash_touch_exploration_manager_unittest.cc (right): ...
6 years, 5 months ago (2014-07-16 00:08:47 UTC) #22
dmazzoni
https://codereview.chromium.org/385073009/diff/120001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/385073009/diff/120001/ash/ash.gyp#newcode926 ash/ash.gyp:926: 'ash_touch_exploration_manager_unittest.cc', Nit: should this be ash_touch_exploration_manager_chromeos_unittest? You should probably ...
6 years, 5 months ago (2014-07-16 16:54:40 UTC) #23
lisayin
https://codereview.chromium.org/385073009/diff/120001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/385073009/diff/120001/ash/ash.gyp#newcode926 ash/ash.gyp:926: 'ash_touch_exploration_manager_unittest.cc', On 2014/07/16 16:54:39, dmazzoni wrote: > Nit: should ...
6 years, 5 months ago (2014-07-17 16:56:18 UTC) #24
dmazzoni
Please upload the latest version after addressing these comments
6 years, 5 months ago (2014-07-17 17:56:21 UTC) #25
lisayin
Fixed touch exploration not turning on after turning off and on chromevox.
6 years, 5 months ago (2014-07-21 20:46:57 UTC) #26
James Cook
https://codereview.chromium.org/385073009/diff/200001/ash/ash_touch_exploration_manager_chromeos_unittest.cc File ash/ash_touch_exploration_manager_chromeos_unittest.cc (right): https://codereview.chromium.org/385073009/diff/200001/ash/ash_touch_exploration_manager_chromeos_unittest.cc#newcode18 ash/ash_touch_exploration_manager_chromeos_unittest.cc:18: AshTouchExplorationManager* touch_exploration_manager = This leaks. Either put it in ...
6 years, 5 months ago (2014-07-21 21:05:36 UTC) #27
James Cook
On 2014/07/21 21:05:36, James Cook wrote: > https://codereview.chromium.org/385073009/diff/200001/ash/ash_touch_exploration_manager_chromeos_unittest.cc > File ash/ash_touch_exploration_manager_chromeos_unittest.cc (right): > > https://codereview.chromium.org/385073009/diff/200001/ash/ash_touch_exploration_manager_chromeos_unittest.cc#newcode18 ...
6 years, 5 months ago (2014-07-21 21:06:08 UTC) #28
lisayin
Dominic and James Cook, PTAL https://codereview.chromium.org/385073009/diff/120001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/385073009/diff/120001/ui/chromeos/touch_exploration_controller.cc#newcode263 ui/chromeos/touch_exploration_controller.cc:263: if ((where | RIGHT_EDGE) ...
6 years, 5 months ago (2014-07-22 16:22:47 UTC) #29
dmazzoni
https://codereview.chromium.org/385073009/diff/240001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/385073009/diff/240001/ui/chromeos/touch_exploration_controller.cc#newcode26 ui/chromeos/touch_exploration_controller.cc:26: // Within these bounds, the release event generated will ...
6 years, 5 months ago (2014-07-22 17:14:55 UTC) #30
aboxhall
lgtm Great tests! Just a few nits. https://codereview.chromium.org/385073009/diff/240001/ash/ash_touch_exploration_manager_chromeos.cc File ash/ash_touch_exploration_manager_chromeos.cc (right): https://codereview.chromium.org/385073009/diff/240001/ash/ash_touch_exploration_manager_chromeos.cc#newcode57 ash/ash_touch_exploration_manager_chromeos.cc:57: audio_handler_->SetOutputMute(true); Does ...
6 years, 5 months ago (2014-07-22 17:20:42 UTC) #31
lisayin
Dominic, Alice, and James, PTAL https://codereview.chromium.org/385073009/diff/240001/ash/ash_touch_exploration_manager_chromeos.cc File ash/ash_touch_exploration_manager_chromeos.cc (right): https://codereview.chromium.org/385073009/diff/240001/ash/ash_touch_exploration_manager_chromeos.cc#newcode57 ash/ash_touch_exploration_manager_chromeos.cc:57: audio_handler_->SetOutputMute(true); On 2014/07/22 17:20:41, ...
6 years, 5 months ago (2014-07-22 18:06:26 UTC) #32
dmazzoni
https://codereview.chromium.org/385073009/diff/260001/ui/chromeos/touch_exploration_controller.h File ui/chromeos/touch_exploration_controller.h (right): https://codereview.chromium.org/385073009/diff/260001/ui/chromeos/touch_exploration_controller.h#newcode223 ui/chromeos/touch_exploration_controller.h:223: // Swipe/scroll gestures within these bounds (in dips) will ...
6 years, 5 months ago (2014-07-22 18:15:33 UTC) #33
dmazzoni
lgtm No more concerns from me once you address that last issue
6 years, 5 months ago (2014-07-22 18:16:06 UTC) #34
aboxhall
lgtm https://codereview.chromium.org/385073009/diff/260001/ui/chromeos/touch_exploration_controller.h File ui/chromeos/touch_exploration_controller.h (right): https://codereview.chromium.org/385073009/diff/260001/ui/chromeos/touch_exploration_controller.h#newcode223 ui/chromeos/touch_exploration_controller.h:223: // Swipe/scroll gestures within these bounds (in dips) ...
6 years, 5 months ago (2014-07-22 18:16:47 UTC) #35
lisayin
https://codereview.chromium.org/385073009/diff/260001/ui/chromeos/touch_exploration_controller.h File ui/chromeos/touch_exploration_controller.h (right): https://codereview.chromium.org/385073009/diff/260001/ui/chromeos/touch_exploration_controller.h#newcode223 ui/chromeos/touch_exploration_controller.h:223: // Swipe/scroll gestures within these bounds (in dips) will ...
6 years, 5 months ago (2014-07-22 18:26:51 UTC) #36
aboxhall
Still lgtm https://codereview.chromium.org/385073009/diff/260001/ui/chromeos/touch_exploration_controller_unittest.cc File ui/chromeos/touch_exploration_controller_unittest.cc (right): https://codereview.chromium.org/385073009/diff/260001/ui/chromeos/touch_exploration_controller_unittest.cc#newcode146 ui/chromeos/touch_exploration_controller_unittest.cc:146: float kMaxDistanceFromEdge() const { On 2014/07/22 18:26:51, ...
6 years, 5 months ago (2014-07-22 18:28:37 UTC) #37
lisayin
The CQ bit was checked by lisayin@chromium.org
6 years, 5 months ago (2014-07-22 18:28:50 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lisayin@chromium.org/385073009/300001
6 years, 5 months ago (2014-07-22 18:30:15 UTC) #39
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 22:11:28 UTC) #40
commit-bot: I haz the power
Change committed as 284819
6 years, 5 months ago (2014-07-23 00:10:33 UTC) #41
sadrul
On 2014/07/23 00:10:33, I haz the power (commit-bot) wrote: > Change committed as 284819 Hi. ...
6 years, 5 months ago (2014-07-23 04:24:27 UTC) #42
lisayin
The CQ bit was checked by lisayin@chromium.org
6 years, 5 months ago (2014-07-24 00:13:22 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lisayin@chromium.org/385073009/320001
6 years, 5 months ago (2014-07-24 00:16:46 UTC) #44
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 03:54:56 UTC) #45
Message was sent while issue was closed.
Change committed as 285149

Powered by Google App Engine
This is Rietveld 408576698