DescriptionFixes for nonmodal pinch zoom.
In Android 4.2, pinch gestures send both pinch events (for the
zoom-in/out part of the pinch) and scroll events (for double-finger
panning). The previous logic in LayerTreeHostImpl created a pan from
the pinch event, resulting in 2x overpanning on Android 4.2.
In order to have compatible gesture generation in older Android versions as
well, I copy-pasted the latest Android GestureDetector.java file into the
Chromium tree and use that instead of the system file.
BUG=161909
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168721
Patch Set 1 #Patch Set 2 : Remove debug logging #Patch Set 3 : Fix ContentViewGestureHandlerTest #Patch Set 4 : Whitelist findbugs and fix cc_unittests #
Messages
Total messages: 15 (0 generated)
|