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

Issue 916103002: Avoid sending touchmove events where all pointers are stationary (Closed)

Created:
5 years, 10 months ago by USE s.singapati at gmail.com
Modified:
5 years, 10 months ago
Reviewers:
jdduke (slow)
CC:
chromium-reviews, darin-cc_chromium.org, jdduke+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid sending touchmove events where all pointers are stationary It is possible that all the pointers in a given TouchMove may have state as StateMoved, even though none of the pointers have not changed in real. Now, TouchEventQueue filters these events and avoids sending the events to the renderer. BUG=452032 Committed: https://crrev.com/f50adc73e0ccf91c48ecbfad127e45ab4d5129cb Cr-Commit-Position: refs/heads/master@{#316609}

Patch Set 1 #

Total comments: 7

Patch Set 2 : TouchMove Ack with NOT_CONSUMED and minor refactoring. #

Total comments: 8

Patch Set 3 : Revert TouchMove acks to NO_CONSUMER_EXISTS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -40 lines) Patch
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 2 2 chunks +25 lines, -9 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 2 6 chunks +59 lines, -18 lines 0 comments Download
M content/common/input/touch_event_stream_validator.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M content/common/input/touch_event_stream_validator_unittest.cc View 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
USE s.singapati at gmail.com
Hi, got some time to work on it. some comments on the patch: Currently |FilterBeforeForwarding| ...
5 years, 10 months ago (2015-02-11 15:15:42 UTC) #2
jdduke (slow)
Looks reasonable. https://codereview.chromium.org/916103002/diff/1/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/916103002/diff/1/content/browser/renderer_host/input/touch_event_queue.cc#newcode50 content/browser/renderer_host/input/touch_event_queue.cc:50: const WebTouchPoint& point_2) { Nit: Will this ...
5 years, 10 months ago (2015-02-11 17:17:13 UTC) #3
USE s.singapati at gmail.com
https://codereview.chromium.org/916103002/diff/1/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/916103002/diff/1/content/browser/renderer_host/input/touch_event_queue.cc#newcode50 content/browser/renderer_host/input/touch_event_queue.cc:50: const WebTouchPoint& point_2) { On 2015/02/11 17:17:12, jdduke wrote: ...
5 years, 10 months ago (2015-02-12 11:15:02 UTC) #4
jdduke (slow)
https://codereview.chromium.org/916103002/diff/1/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/916103002/diff/1/content/browser/renderer_host/input/touch_event_queue.cc#newcode739 content/browser/renderer_host/input/touch_event_queue.cc:739: if (HasPointChanged(last_sent_touchevent_->touches[j], point)) On 2015/02/12 11:15:02, s.singapati wrote: > ...
5 years, 10 months ago (2015-02-12 16:55:56 UTC) #5
USE s.singapati at gmail.com
https://codereview.chromium.org/916103002/diff/1/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/916103002/diff/1/content/browser/renderer_host/input/touch_event_queue.cc#newcode50 content/browser/renderer_host/input/touch_event_queue.cc:50: const WebTouchPoint& point_2) { On 2015/02/12 11:15:02, s.singapati wrote: ...
5 years, 10 months ago (2015-02-13 12:16:48 UTC) #6
jdduke (slow)
https://codereview.chromium.org/916103002/diff/20001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/916103002/diff/20001/content/browser/renderer_host/input/touch_event_queue.cc#newcode745 content/browser/renderer_host/input/touch_event_queue.cc:745: // This is a TouchMove event and not forwarded ...
5 years, 10 months ago (2015-02-13 16:37:37 UTC) #7
USE s.singapati at gmail.com
https://codereview.chromium.org/916103002/diff/20001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/916103002/diff/20001/content/browser/renderer_host/input/touch_event_queue.cc#newcode745 content/browser/renderer_host/input/touch_event_queue.cc:745: // This is a TouchMove event and not forwarded ...
5 years, 10 months ago (2015-02-16 10:52:01 UTC) #8
USE s.singapati at gmail.com
jdduke: Any other comments on latest patch set?
5 years, 10 months ago (2015-02-17 15:57:06 UTC) #9
jdduke (slow)
On 2015/02/17 15:57:06, s.singapati wrote: > jdduke: Any other comments on latest patch set? lgtm ...
5 years, 10 months ago (2015-02-17 16:28:26 UTC) #10
USE s.singapati at gmail.com
On 2015/02/17 16:28:26, jdduke wrote: > On 2015/02/17 15:57:06, s.singapati wrote: > > jdduke: Any ...
5 years, 10 months ago (2015-02-17 17:22:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/916103002/40001
5 years, 10 months ago (2015-02-17 17:24:15 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-17 18:12:34 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 18:13:42 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f50adc73e0ccf91c48ecbfad127e45ab4d5129cb
Cr-Commit-Position: refs/heads/master@{#316609}

Powered by Google App Engine
This is Rietveld 408576698