DescriptionDefer GestureTapDown events briefly.
GestureTapDown events are always handled by the WK thread. They are
frequently followed by a GestureScrollStart which can be handled on the
compositor thread. In this case, the GTD event is unnecessary and its only
side effect is to make the compositor thread block on the WK thread. This
makes touchscreen scrolling sluggish if the WK thread is busy.
This change defers sending the GTD briefly so that it can be suppressed
if the GTD event is part of a scroll gesture. This increases the likelyhood
that a scroll gesture can be successfully handled on the compositor thread.
BUG=137555
TESTS= by hand, by unit test.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152230
Patch Set 1 #
Total comments: 5
Patch Set 2 : fixed proof-reading nits #
Total comments: 16
Patch Set 3 : review comments addressed #Patch Set 4 : build on mac #Patch Set 5 : fixed windows runtime error #Patch Set 6 : proof-reading corrections #
Messages
Total messages: 10 (0 generated)
|