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

Issue 954973003: Always forward touch events to the TouchEventQueue (Closed)

Created:
5 years, 10 months ago by jdduke (slow)
Modified:
5 years, 10 months ago
Reviewers:
sadrul, tdresser
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tdresser+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, jdduke+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always forward touch events to the TouchEventQueue There's currently a shortcut that the RWHView can take with touch events when there is no registered touch handler. This avoids the overhead of passing the touch to the InputRouter/TouchEventQueue, but the predicate for conditionally forwarding the events is racy. This can lead to scenarios where a touch event stream is interrupted and the pipeline only sees a partial touch sequence. As the cost of always forwarding the events is relatively small, remove this optimization entirely, instead relying on the TouchEventQueue to filter events as appropriate. BUG=461583 Committed: https://crrev.com/dfb809f04aa38b0fc0a6ce8c69649377b83a20df Cr-Commit-Position: refs/heads/master@{#318243}

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : More validation #

Messages

Total messages: 11 (3 generated)
jdduke (slow)
PTAL, thanks. tdresser@: content/browser/renderer_host/input, ui/events sadrul@: content/browser/renderer_host
5 years, 10 months ago (2015-02-25 19:05:37 UTC) #2
tdresser
On 2015/02/25 19:05:37, jdduke wrote: > PTAL, thanks. > > tdresser@: content/browser/renderer_host/input, ui/events > sadrul@: ...
5 years, 10 months ago (2015-02-25 19:17:56 UTC) #3
jdduke (slow)
On 2015/02/25 19:17:56, tdresser wrote: > On 2015/02/25 19:05:37, jdduke wrote: > > PTAL, thanks. ...
5 years, 10 months ago (2015-02-25 22:51:07 UTC) #4
tdresser
On 2015/02/25 22:51:07, jdduke wrote: > On 2015/02/25 19:17:56, tdresser wrote: > > On 2015/02/25 ...
5 years, 10 months ago (2015-02-26 13:40:16 UTC) #5
sadrul
rs lgtm
5 years, 10 months ago (2015-02-26 14:23:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/954973003/40001
5 years, 10 months ago (2015-02-26 16:06:42 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-26 16:16:26 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 16:17:33 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dfb809f04aa38b0fc0a6ce8c69649377b83a20df
Cr-Commit-Position: refs/heads/master@{#318243}

Powered by Google App Engine
This is Rietveld 408576698