• Lan Wei's avatar
    Use gpuBenchmarking to generate actions in transformed-events.html · cd6b3ed6
    Lan Wei authored
    After we finish the scroll unification, the scrolls happens mainly on
    the compositor thread, and the scroll code in the main thread will be
    removed. eventSender sends the scroll events to main thread, so it
    would not work after the scroll unification. This CL we should replace
    eventSender.mouseScrollBy with wheelTick which uses
    gpuBenchmarking.smoothScrollByXY in
    third_party/blink/web_tests/plugins/transformed-events.html and also
    gpuBenchmarking.pointerActionSequence to generate touch, mouse and
    gesture events.
    
    Bug: 1047176
    Change-Id: I08321de0e43cde7293ca017aae2270863af2401d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2262497
    Commit-Queue: Lan Wei <lanwei@chromium.org>
    Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#785916}
    cd6b3ed6
transformed-events.html 2.29 KB