DescriptionMade top controls work with virtual viewport pinch-to-zoom. (Blink)
Together with the Chromium-side patch, makes top controls work properly
under the virtual viewport mode of pinch zoom. The key changes on the
Blink side are to adjust both the PinchViewport and FrameView max scroll
bounds to account for the change in the top controls offset on the
compositor. Additionally, I changed these to make the same floating point
and snapping calculations as in the compositor to prevent losing pixel
fractions.
Chromium side: https://codereview.chromium.org/641873003/
Note, this was previously landed in 183639 and reverted in 183653 due
to failing tests on Mac bots.
BUG=364109
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183639
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183713
Patch Set 1 #
Total comments: 3
Patch Set 2 : Removed if statement #
Total comments: 4
Patch Set 3 : Review feedback from rbyers@. Added back the if statement #Patch Set 4 : Fixed mac breakage (UseMockScrollbars) #
Messages
Total messages: 20 (6 generated)
|