Descriptioncc: Rewrite PageScaleAnimation for new coordinate system.
- I moved PageScaleAnimation to work entirely at root content layer
scale, to be consistent with the new pinch zoom code. This avoids the
need for any scaling of scroll offsets. However, everything must now
be in floating point, and the complexity is moved into viewport size
calculation instead.
- I also took the opportunity to add support for two anchors instead of
just one, introducing an additional level of interpolation. This
makes the animation appear less jarring when we clamp it to document
edge, and it also removes the need for special-casing translation-only
animations.
BUG=152505
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166855
Patch Set 1 #Patch Set 2 : Remove accidentally added debug code #Patch Set 3 : Rebase to 165026 #Patch Set 4 : Rebase to 166581 and move normalization logic to static methods #
Total comments: 14
Patch Set 5 : Address gfx::Size::Scale() currently not being mutating #
Total comments: 4
Messages
Total messages: 11 (0 generated)
|