DescriptionInitial touch-action main thread implementation
This adds initial support for touch-action: none/auto on the blink main thread.
This works by computing the effective touch action on any touchstart event and
reporting the result to the embedder. Chrome will then do appropriate filtering
of gesture events in the browser process. This is necessary because the browser may do other optimizations based on the result (such as suppressing sending of
touchmove events during a scroll). We report this via WebWidgetClient in advance of the
touch event ACK because in the future it will need to be able to come from the impl thread without waiting on main (plus there can be some performance benefit to doing it in advance
of running any JS handlers).
For more details see the design document:
https://docs.google.com/a/chromium.org/document/d/1CV2AXyrdPdGSRypAQcfGrgQVuWYi50EzTmVsMLWgRPM/edit#
Note that this does not yet integrate at all with compositor fast paths (eg.
a touch handler is necessary for touch-action to take effect in order to
bypass compositor touch hit testing).
Intent-to-implement thread: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/mDSwpxfdrdA
Chromium-side patch to consume this: https://codereview.chromium.org/67383002/
BUG=316735
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163373
Patch Set 1 #Patch Set 2 : Implementation of new design #Patch Set 3 : Adds tests and fixes a couple bugs #Patch Set 4 : Don't yet promote to 'experimental' - want chrome side to land first #Patch Set 5 : Tweak style #Patch Set 6 : Don't add delay param to public API just yet #
Total comments: 12
Patch Set 7 : abarth CR feedback #Patch Set 8 : Omit touch-ID in setTouchAction calls for now #Patch Set 9 : Merge with trunk - no changes #Patch Set 10 : merge with trunk - no changes #
Total comments: 29
Patch Set 11 : esprehn CR #Patch Set 12 : merge with trunk (no changes) #Patch Set 13 : Merge with trunk (no changes) #
Total comments: 10
Patch Set 14 : esprehn CR tweaks #Messages
Total messages: 14 (0 generated)
|