DescriptionDefer flushing the touch queue when all touch handlers removed
Currently, the touch event queue will flush itself when it's notified
that all touch handlers have been removed. However, this effectively
overrides the ack of any outstanding touch that is being handled. In
particular, the touch may have been the cause of handler removal *and*
been preventDefault'ed, in which case we should respect the
preventDeafult.
Defer flushing the queue when all handlers have been removed, instead
waiting for any outstanding touch ack. Any additional pending events
will be automatically flushed when the ack is received.
BUG=406916
Committed: https://crrev.com/2d5f6468dd9b3ac1738f35e6de1acfc681412bf2
Cr-Commit-Position: refs/heads/master@{#292685}
Patch Set 1 #Patch Set 2 : Tests #Patch Set 3 : InputRouter test #Patch Set 4 : Aura unit test fix #
Messages
Total messages: 19 (2 generated)
|