DescriptionAdjust maximum scroll bounds on FrameView to account for top controls. (Blink-side)
The compositor adjusts the viewport bounds based on how far the top
controls are shown; however, the resize of the viewport on the Blink
side doesn't happen until a Resize event is received, which is heavily
throttled. This means that when a commit happens before the Resize,
the scroll offsets given to Blink may be outside the maximum bounds
and will be incorrectly clamped.
This CL adjusts FrameView's maximumScrollPosition to account for the
drift in where Blink and the Compositor think the top controls are.
Chromium-side: https://codereview.chromium.org/563513002
BUG=412581
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182600
Patch Set 1 #
Total comments: 6
Patch Set 2 : Review feedback #
Total comments: 2
Patch Set 3 : Cleared up float truncation + test #Patch Set 4 : Rebase #
Messages
Total messages: 21 (6 generated)
|