-
Sandra Sun authored
We plan to share the snap fling logic between cc and blink. But with the dependency restrictions, we can only put the shared logic under cc/. This patch moves the logic from ui/ to cc/, in preparation for blink to use the same logic to make snap fling works there. As cc/ doesn't accept blink::WebGestureEvent and blink::WebInputEvent, we create GestureScrollType and GestureScrollUpdateInfo to pass in the necessary messages. Bug: 778259 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I0df8cf1002d51646404310ca50eb00a536e0b5d1 Reviewed-on: https://chromium-review.googlesource.com/1024198Reviewed-by:
Dave Tapuska <dtapuska@chromium.org> Reviewed-by:
David Bokan <bokan@chromium.org> Reviewed-by:
Majid Valipour <majidvp@chromium.org> Commit-Queue: Sandra Sun <sunyunjia@chromium.org> Cr-Commit-Position: refs/heads/master@{#559533}
aa703718