Fling bubbles from OOPIF properly.
While we are bubbling a scroll sequence GFS is sent to the fling controllers of both the oopif and the bubbling target. The fling controller of the oopif calls progressFling and generates a GSU with inertial phase, the GSU gets acked immediately before getting sent to the renderer since we are in bubbling mode. Then the oopif's fling controller receives the unconsumed GSU ack and generates a GSE to complete the scrolling sequence on the oopif. The bubbling target's fling controller receives and processes the GFS and generates GSUs which are sent to the target's renderer. If the GSE generated by the oopif's fling controller gets bubbled before the GFS, the bubbling target gets reset and the target does not receive the GFS. This cl fixes the issue by making sure that the events generated by the oopif's fling controller are not bubbled to the target. Also in case of GFS bubbling, the GFC should also get sent to the bubbling target to make sure that the fling controller in charge of flinging receives the GFC. Bug: 884728, 249063 Test: BrowserSideFlingBrowserTest.[Touchpad|Touchscreen]FlingBubblesFromOOPIF Change-Id: I064944f125bebcb746f329af4cfb117f3be94ff0 Reviewed-on: https://chromium-review.googlesource.com/c/1274193Reviewed-by:Kevin McNee <mcnee@chromium.org> Reviewed-by:
Charlie Reis <creis@chromium.org> Commit-Queue: Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/master@{#599001}
Showing
This diff is collapsed.
Please register or sign in to comment