DescriptionMake new-style page scale work on Android.
- Fix CC's PinchZoomViewport and MaxScrollOffset logic to work in fixed
layout mode. Root layer max scroll offset is based on
WebKit-perceived outer viewport and therefore should logically use
layout_viewport_size_, whereas the inner one is the true user-visible
viewport and therefore should use device_viewport_size_.
- Fix Android to send down viewport size in DIP when
--enable-css-transform-pinch is not specified. Default to
non-CSS-transform mode when in impl-side painting.
- Make ContentSize() return bounds() instead of contentBounds() and
rename to ScrollableSize for clarity. This lets us avoid coordinate
space conversions when computing max scroll offset.
BUG=152505
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177896
Patch Set 1 #Patch Set 2 : Delete maxScrollOffsetChangedByDeviceScaleFactor test #
Total comments: 22
Patch Set 3 : Apply code review comments #Patch Set 4 : Rebase to 177494 #
Total comments: 1
Patch Set 5 : 80-col limit #
Total comments: 3
Patch Set 6 : Fix indent #Patch Set 7 : Rebase to 177564 #Patch Set 8 : Rebase to 177877 #Patch Set 9 : Change back ScrollableSize boudns #Patch Set 10 : Change back ScrollableSize bounds again #Patch Set 11 : Rebase to 177880 #Patch Set 12 : Rebase to 177887 #
Messages
Total messages: 25 (0 generated)
|