Touch flings should not bubble.
commitdf0c42345ea6efe37ef919eadc143ee067e1e6df
authorvollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 8 Oct 2013 20:52:12 +0000 (8 20:52 +0000)
committervollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 8 Oct 2013 20:52:12 +0000 (8 20:52 +0000)
tree850723f319b22dd613e1f890fa70ad42500632da
parent62aec8516d064fcf66fc9751d1d61caf8c0714ad
Touch flings should not bubble.

Currently touch flings can bubble out of an accelerated overflow scrolling div,
but this should not happen.

Looking at InputHandlerProxy::HandleGestureFling, FlingScrollBegin appears to be used for touch fling. Given that this is the case, I've set should_bubble_scrolls_ to false there.

Tests:
TouchFlingShouldNotBubble
 - checks that this fling doesn't bubble.
WheelFlingShouldBubble
 - checks that this does.

R=danakj@chromium.org,aelias@chromium.org
BUG=270281

Review URL: https://codereview.chromium.org/26470004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227585 0039d316-1c4b-4281-b951-d872f2087c98
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl_unittest.cc