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

Issue 333623003: Added split tap to TouchExplorationController (Closed)

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

Description

Added split tap to TouchExplorationController. Split tap allows a user to click while in touch exploration mode by tapping a second finger anywhere on the screen. *Added TOUCH_EXPL_SECOND_PRESS state and a InTouchExplSecondPress function in the controller *Added tests for tap and tap hold events, and also tested the case where the user lifts the touch exploration finger first. BUG=385151 TEST = TouchExplorationTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278093

Patch Set 1 #

Total comments: 16

Patch Set 2 : Dominic's changes #

Total comments: 6

Patch Set 3 : Alice's changes #

Total comments: 27

Patch Set 4 : Addressed more comments #

Total comments: 3

Patch Set 5 : all comments addressed #

Total comments: 10

Patch Set 6 : Dominic's changes, including new test for double tap without previous touch exploration location #

Total comments: 4

Patch Set 7 : Little nit changes #

Total comments: 21

Patch Set 8 : rebased #

Patch Set 9 : Changes from James #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -42 lines) Patch
M ui/chromeos/touch_exploration_controller.h View 1 2 3 4 5 6 7 8 4 chunks +16 lines, -4 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.cc View 1 2 3 4 5 6 7 8 9 chunks +95 lines, -34 lines 0 comments Download
M ui/chromeos/touch_exploration_controller_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +203 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
evy
We added split tap and some tests for it. We've encountered a few bugs since, ...
6 years, 6 months ago (2014-06-12 20:37:11 UTC) #1
dmazzoni
https://codereview.chromium.org/333623003/diff/1/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/1/ui/chromeos/touch_exploration_controller.cc#newcode253 ui/chromeos/touch_exploration_controller.cc:253: ui::TouchEvent* rewritten_release_event = this should be rewritten_touch_event https://codereview.chromium.org/333623003/diff/1/ui/chromeos/touch_exploration_controller.cc#newcode329 ui/chromeos/touch_exploration_controller.cc:329: ...
6 years, 6 months ago (2014-06-13 05:52:38 UTC) #2
evy
last_touch_exploration_location_ is now a pointer last_touch_exploration_ so that the id of the last touch exploration ...
6 years, 6 months ago (2014-06-13 16:48:08 UTC) #3
aboxhall
https://codereview.chromium.org/333623003/diff/20001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/20001/ui/chromeos/touch_exploration_controller.cc#newcode151 ui/chromeos/touch_exploration_controller.cc:151: // If this is the first ever touch, initialize ...
6 years, 6 months ago (2014-06-13 17:06:48 UTC) #4
evy
Alice's changes. https://codereview.chromium.org/333623003/diff/20001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/20001/ui/chromeos/touch_exploration_controller.cc#newcode151 ui/chromeos/touch_exploration_controller.cc:151: // If this is the first ever ...
6 years, 6 months ago (2014-06-13 17:48:59 UTC) #5
aboxhall
https://codereview.chromium.org/333623003/diff/20001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/20001/ui/chromeos/touch_exploration_controller.cc#newcode151 ui/chromeos/touch_exploration_controller.cc:151: // If this is the first ever touch, initialize ...
6 years, 6 months ago (2014-06-13 18:20:01 UTC) #6
dmazzoni
https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller_unittest.cc File ui/chromeos/touch_exploration_controller_unittest.cc (right): https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller_unittest.cc#newcode807 ui/chromeos/touch_exploration_controller_unittest.cc:807: simulated_clock_->Advance(gesture_detector_config_.longpress_timeout); On 2014/06/13 18:20:01, aboxhall wrote: > This confuses ...
6 years, 6 months ago (2014-06-13 18:36:13 UTC) #7
aboxhall
https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller_unittest.cc File ui/chromeos/touch_exploration_controller_unittest.cc (right): https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller_unittest.cc#newcode807 ui/chromeos/touch_exploration_controller_unittest.cc:807: simulated_clock_->Advance(gesture_detector_config_.longpress_timeout); On 2014/06/13 18:36:13, dmazzoni wrote: > On 2014/06/13 ...
6 years, 6 months ago (2014-06-13 18:40:30 UTC) #8
dmazzoni
https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller_unittest.cc File ui/chromeos/touch_exploration_controller_unittest.cc (right): https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller_unittest.cc#newcode807 ui/chromeos/touch_exploration_controller_unittest.cc:807: simulated_clock_->Advance(gesture_detector_config_.longpress_timeout); On 2014/06/13 18:40:29, aboxhall wrote: > On 2014/06/13 ...
6 years, 6 months ago (2014-06-13 18:46:07 UTC) #9
aboxhall
https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller_unittest.cc File ui/chromeos/touch_exploration_controller_unittest.cc (right): https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller_unittest.cc#newcode807 ui/chromeos/touch_exploration_controller_unittest.cc:807: simulated_clock_->Advance(gesture_detector_config_.longpress_timeout); On 2014/06/13 18:46:06, dmazzoni wrote: > On 2014/06/13 ...
6 years, 6 months ago (2014-06-13 18:47:22 UTC) #10
evy
Fixed up some of the stuff we were talking about - some things I'm still ...
6 years, 6 months ago (2014-06-13 20:27:40 UTC) #11
aboxhall
https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller.cc#newcode206 ui/chromeos/touch_exploration_controller.cc:206: last_touch_exploration_.reset(new TouchEvent(event)); On 2014/06/13 20:27:39, evy wrote: > On ...
6 years, 6 months ago (2014-06-13 20:52:50 UTC) #12
evy
All comments should be addressed now! https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller.cc#newcode206 ui/chromeos/touch_exploration_controller.cc:206: last_touch_exploration_.reset(new TouchEvent(event)); On ...
6 years, 6 months ago (2014-06-13 22:03:47 UTC) #13
aboxhall
lgtm https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/40001/ui/chromeos/touch_exploration_controller.cc#newcode206 ui/chromeos/touch_exploration_controller.cc:206: last_touch_exploration_.reset(new TouchEvent(event)); On 2014/06/13 22:03:47, evy wrote: > ...
6 years, 6 months ago (2014-06-13 22:09:00 UTC) #14
evy
Added bug number
6 years, 6 months ago (2014-06-16 17:59:59 UTC) #15
dmazzoni
https://codereview.chromium.org/333623003/diff/80001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/80001/ui/chromeos/touch_exploration_controller.cc#newcode204 ui/chromeos/touch_exploration_controller.cc:204: if (last_touch_exploration_ == NULL) { A scoped_ptr has a ...
6 years, 6 months ago (2014-06-16 18:21:20 UTC) #16
evy
more changes from Dominic's comments https://codereview.chromium.org/333623003/diff/80001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/80001/ui/chromeos/touch_exploration_controller.cc#newcode204 ui/chromeos/touch_exploration_controller.cc:204: if (last_touch_exploration_ == NULL) ...
6 years, 6 months ago (2014-06-16 20:34:20 UTC) #17
dmazzoni
lgtm +jamescook for owners review https://codereview.chromium.org/333623003/diff/90001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/90001/ui/chromeos/touch_exploration_controller.cc#newcode258 ui/chromeos/touch_exploration_controller.cc:258: // Handle split-tap Nit: ...
6 years, 6 months ago (2014-06-17 15:50:40 UTC) #18
evy
https://codereview.chromium.org/333623003/diff/90001/ui/chromeos/touch_exploration_controller.cc File ui/chromeos/touch_exploration_controller.cc (right): https://codereview.chromium.org/333623003/diff/90001/ui/chromeos/touch_exploration_controller.cc#newcode258 ui/chromeos/touch_exploration_controller.cc:258: // Handle split-tap On 2014/06/17 15:50:40, dmazzoni wrote: > ...
6 years, 6 months ago (2014-06-17 15:57:33 UTC) #19
James Cook
Also, please change the CL description. A great CL description looks like this: Add new_feature ...
6 years, 6 months ago (2014-06-17 17:06:19 UTC) #20
evy
Made the suggested changes except for the rotor comment - see my question in the ...
6 years, 6 months ago (2014-06-17 18:36:22 UTC) #21
James Cook
LGTM. Nice patch.
6 years, 6 months ago (2014-06-17 19:51:06 UTC) #22
evy
The CQ bit was checked by evy@chromium.org
6 years, 6 months ago (2014-06-18 15:31:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/evy@chromium.org/333623003/150001
6 years, 6 months ago (2014-06-18 15:32:28 UTC) #24
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 15:49:45 UTC) #25
Message was sent while issue was closed.
Change committed as 278093

Powered by Google App Engine
This is Rietveld 408576698