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

Issue 428673002: Fix Touch Exploration tests so they don't break eager gesture detection. (Closed)

Created:
6 years, 4 months ago by tdresser
Modified:
6 years, 4 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Fix Touch Exploration tests so they don't break eager gesture detection. Eager gesture detection is a little bit stricter about requiring a valid event stream. The touch exploration tests give the gesture detector an invalid event stream in a few places. BUG=398106 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285983

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add comment. #

Patch Set 3 : Fix bug??? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -31 lines) Patch
M chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc View 1 3 chunks +50 lines, -9 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.cc View 1 2 3 chunks +1 line, -6 lines 0 comments Download
M ui/chromeos/touch_exploration_controller_unittest.cc View 1 2 5 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tdresser
I've been running into issues with Touch Exploration tests giving the gesture recognizer invalid touch ...
6 years, 4 months ago (2014-07-28 18:31:43 UTC) #1
dmazzoni
+lisayin Lisa, could you look at this too?
6 years, 4 months ago (2014-07-28 18:52:00 UTC) #2
lisayin
https://codereview.chromium.org/428673002/diff/1/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc File chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc (right): https://codereview.chromium.org/428673002/diff/1/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc#newcode144 chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc:144: // gestures. Here, the touch move event is not ...
6 years, 4 months ago (2014-07-28 19:14:55 UTC) #3
dmazzoni
+mfomitchev to help explain cursor_client()->EnableMouseEvents https://codereview.chromium.org/428673002/diff/1/ui/chromeos/touch_exploration_controller_unittest.cc File ui/chromeos/touch_exploration_controller_unittest.cc (right): https://codereview.chromium.org/428673002/diff/1/ui/chromeos/touch_exploration_controller_unittest.cc#newcode430 ui/chromeos/touch_exploration_controller_unittest.cc:430: cursor_client()->EnableMouseEvents(); On 2014/07/28 19:14:54, ...
6 years, 4 months ago (2014-07-28 19:28:37 UTC) #4
tdresser
https://codereview.chromium.org/428673002/diff/1/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc File chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc (right): https://codereview.chromium.org/428673002/diff/1/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc#newcode144 chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc:144: // gestures. Here, the touch move event is not ...
6 years, 4 months ago (2014-07-28 20:11:30 UTC) #5
tdresser
Looks like there was a bug where if you just pressed and release (with no ...
6 years, 4 months ago (2014-07-28 20:18:53 UTC) #6
dmazzoni
lgtm
6 years, 4 months ago (2014-07-28 20:44:29 UTC) #7
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 4 months ago (2014-07-28 20:46:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/428673002/40001
6 years, 4 months ago (2014-07-28 20:48:17 UTC) #9
commit-bot: I haz the power
Change committed as 285983
6 years, 4 months ago (2014-07-28 21:27:31 UTC) #10
hashimoto
6 years, 4 months ago (2014-07-29 05:11:17 UTC) #11
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/428643008/ by hashimoto@chromium.org.

The reason for reverting is: The "TouchExplorationTest.RewritesEventsWhenOn"
test failing on "Linux Chromium OS ASan LSan Tests (2)":
http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20....

Powered by Google App Engine
This is Rietveld 408576698