Chromium Code Reviews
DescriptionRefactor OverlayScrollbarSizeRelevancy into OverlayScrollbarClipBehavior
OverlayScrollbarSizeRelevancy was added in [1] and took chrishtr and me
quite a bit of time to understand in [2]. For example, it was not clear
what "relevancy" meant, nor that including overlay scrollbar size is
needed for hit testing. When creating the new LayoutViewItem API, this
code was incorrectly exposed even though it wasn't needed.
This patch does the following renames and adds a comment explaining why:
OverlayScrollbarSizeRelevancy -> OverlayScrollbarClipBehavior
IncludeOverlayScrollbarSize -> IncludeOverlayScrollbarSizeForHitTesting
Additionally, LayoutViewItem has been updated to no longer use the enum.
[1] https://chromium.googlesource.com/chromium/src/+/9477b0e3afbc92ba1e75e235b0f09fe231853770
[2] https://codereview.chromium.org/1897753002/
BUG=597946
Committed: https://crrev.com/0c45146717e9d715483d89fa7314ed7fcc5831bd
Cr-Commit-Position: refs/heads/master@{#389345}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Include -> Exclude #
Total comments: 1
Messages
Total messages: 24 (7 generated)
|