commit | 2fe7948da152f6d65725173f0ec1fa916e3a016c | [log] [tgz] |
---|---|---|
author | nzolghadr <nzolghadr@chromium.org> | Fri Feb 10 20:14:16 2017 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 10 20:14:16 2017 |
tree | 40129f5ace8979efbe463aa03fcf7ca1bc4db1ae | |
parent | 2b355b10cfd06d3a0e4b5fc563a3c9ee2f4e4d79 [diff] |
Fix movementX/Y attributes for touch pointer events Keep track of previous coordinates of touch points and calculate the deltas and store them inside the WebTouchPoints. Since pointerevents have movementX/Y attributes which they expose to js this CL calculates the correct values for movementX/Y of touch pointerevents. BUG=678258 Review-Url: https://codereview.chromium.org/2624783002 Cr-Commit-Position: refs/heads/master@{#449714}