[webkit-changes] [WebKit/WebKit] 4a4b32: Add scrollbar width style to ScrollableAreaParameters
Luke Warlow
noreply at github.com
Mon Jul 10 10:16:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4a4b3254505852dd5204ff5c5b6d4882143175eb
https://github.com/WebKit/WebKit/commit/4a4b3254505852dd5204ff5c5b6d4882143175eb
Author: Luke Warlow <luke at warlow.dev>
Date: 2023-07-10 (Mon, 10 Jul 2023)
Changed paths:
M Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp
M Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.h
M Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h
M Source/WebCore/page/scrolling/mac/ScrollerPairMac.mm
M Source/WebCore/platform/ScrollTypes.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
Add scrollbar width style to ScrollableAreaParameters
https://bugs.webkit.org/show_bug.cgi?id=259017
Reviewed by Simon Fraser.
This patch adds scrollbarWidthStyle to ScrollableAreaParameters.
This is wired up to ScrollerPairMac to replace the hardcoded ScrollbarWidth::Auto.
This will allow a follow up to fix the thin value having no affect with composited scrolling.
This patch has no behaviour changes.
* Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp:
(WebCore::AsyncScrollingCoordinator::setScrollingNodeScrollableAreaGeometry):
* Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.h:
(WebCore::ScrollableAreaParameters::operator== const):
* Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h:
* Source/WebCore/page/scrolling/mac/ScrollerPairMac.mm:
(WebCore::ScrollerPairMac::scrollbarWidthStyle const):
* Source/WebCore/platform/ScrollTypes.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Canonical link: https://commits.webkit.org/265907@main
More information about the webkit-changes
mailing list