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

Issue 188833004: [Android] Properly disable the touch ack timeout during a touch sequence (Closed)

Created:
6 years, 9 months ago by jdduke (slow)
Modified:
6 years, 9 months ago
Reviewers:
Rick Byers
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@input_log_verbose
Visibility:
Public.

Description

[Android] Properly disable the touch ack timeout during a touch sequence This issue was recently uncovered by the interaction of touch-action:none when disabling the touch timeout. In that case, the disable command did not actually take effect until the following touch sequence (if one was active). Instead, forcefully disable the timeout/timer for the current touch sequence when the TouchEventQueue is commanded to do so. BUG=340060 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255555

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 2

Patch Set 3 : Timeout tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -55 lines) Patch
M content/browser/renderer_host/input/input_router_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 2 5 chunks +7 lines, -8 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 2 3 chunks +18 lines, -6 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 1 2 16 chunks +77 lines, -32 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jdduke (slow)
PTAL. A little embarrassing that we haven't caught this until now. Turns out the deferred ...
6 years, 9 months ago (2014-03-06 21:14:38 UTC) #1
Rick Byers
LGTM We may want to make the timing based testing more clearly immune to flake, ...
6 years, 9 months ago (2014-03-06 22:46:11 UTC) #2
jdduke (slow)
https://codereview.chromium.org/188833004/diff/20001/content/browser/renderer_host/input/touch_event_queue_unittest.cc File content/browser/renderer_host/input/touch_event_queue_unittest.cc (right): https://codereview.chromium.org/188833004/diff/20001/content/browser/renderer_host/input/touch_event_queue_unittest.cc#newcode1032 content/browser/renderer_host/input/touch_event_queue_unittest.cc:1032: Wait(base::TimeDelta::FromMilliseconds(kDefaultTouchTimeoutDelayMs * 2)); On 2014/03/06 22:46:11, Rick Byers wrote: ...
6 years, 9 months ago (2014-03-06 22:52:19 UTC) #3
jdduke (slow)
I've reduced all of the timeouts, and double-checked that these specific timeout-based tests should (should... ...
6 years, 9 months ago (2014-03-06 23:41:45 UTC) #4
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 9 months ago (2014-03-06 23:41:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/188833004/40001
6 years, 9 months ago (2014-03-06 23:45:18 UTC) #6
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 08:55:46 UTC) #7
Message was sent while issue was closed.
Change committed as 255555

Powered by Google App Engine
This is Rietveld 408576698