DescriptionIgnore "range" parameter in Android FlingAnimator
WebKit is passing an empty range, which means flings are always
immediately halted on Android. This patch ignores the parameter
and just uses INT_MIN / INT_MAX for the range. This fixes fling
gestures in the Android content shell.
Also simplified code by calling an overloaded Java method with
fewer parameters (we were just passing 0 for the extra "overfling
range" parameters, and they have no effect anyway unless we hit
the max scrolling range, which this patch prevents).
Other platforms don't need this parameter so we'll probably
just remove it from the WebKit API. See discussion on WebKit
bug: http://webkit.org/b/96403
BUG=None
TEST=Manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156416
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|