DescriptionHide pinch viewport scrollbars when near minimum scale.
This patch prevents the overlay scrollbars from showing up when we're near the
minimum scale. The threshold can be set per-platform; by default it's 0 so the
scrollbars will be visible regardless of the scale. On Windows/Linux/CrOS we'd
like to prevent the scrollbars from overlaying over the window scrollbars so
we set a small non-0 threshold.
BUG=446411
Committed: https://crrev.com/c784a6f02ed8f2cffe131c2c067c4805cd752610
Cr-Commit-Position: refs/heads/master@{#313431}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Use SetHideLayerAndSubtree #
Total comments: 6
Patch Set 4 : Threshold multiplicative, prevent commit clobber of hide layer #
Total comments: 2
Patch Set 5 : Forgot about test #
Messages
Total messages: 19 (3 generated)
|