Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use gpuBenchmarking.smoothScrollByXY for wheel scroll in event-dispat…
…ching.js In dom/shadow/resources/event-dispatching.js, there is a function that simulates mouse wheel scroll, it used eventSender.mouseScrollBy, now we change to use wheelTick which uses gpuBenchmarking.smoothScrollByXY, this will simulate wheel scroll from compositor. Bug: 1047176 Change-Id: Ic4aa5cd4b5d4ba97c99e7ea340c5760f4204f81d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2181228 Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Lan Wei <lanwei@chromium.org> Cr-Commit-Position: refs/heads/master@{#787366}
- Loading branch information
Showing
4 changed files
with
60 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters