Implement active wheel fling transfer via WebCompositorInputHandlerClient
There are cases where we'll process a GestureFlingStart event on the compositor thread, initiate a wheel fling, and then later determine that we can't process the rest of the animation on the compositor thread. One example of where this could happen is if the page registers a mousewheel JS event listener while the fling is in progress. In this case, we need to transfer the animation to the WebView to process so it can generate the correct events. This implements the transfer as a call out via the WebCompositorInputHandlerClient. I think this is a reasonable place to put the interface, since it's intimately related with the input processing stream. BUG=don't have handy, but there is one TEST=wheel fling on CrOS should work with --enable-threaded-compositing Review URL: http://codereview.chromium.org/9802006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129487 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment