Chrome sends gesture events from both the touchpad and the touchscreen. In particular: GestureScrollBegin, GestureScrollEnd, GestureFlingStart and GestureFlingCancel can all be sent from both devices. Currently, only GestureFlingStart sub-types are tagged with their device source. But it is also necessary to know the source device for the remaining three sub-types. Add a new payload for these sub-types.
Created attachment 176554 [details] Patch
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Should we just add it outside the union? The property could be useful for other event types as well (ScrollUpdate, pinch, etc).
(In reply to comment #3) > Should we just add it outside the union? The property could be useful for other event types as well (ScrollUpdate, pinch, etc). I like this idea.
Created attachment 176972 [details] Patch
Comment on attachment 176972 [details] Patch Sounds good to me. This is step one of having the flag be for all WebGestureEvent instances. Please take a look.
Comment on attachment 176972 [details] Patch Attachment 176972 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/15062385
Created attachment 176983 [details] Patch
LGTM
Comment on attachment 176983 [details] Patch Clearing flags on attachment: 176983 Committed r136325: <http://trac.webkit.org/changeset/136325>
All reviewed patches have been landed. Closing bug.