DescriptionAlways 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)
|