New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace usages of ScrollbarControlSize with ScrollbarWidth #14430
Replace usages of ScrollbarControlSize with ScrollbarWidth #14430
Conversation
EWS run on previous version of this PR (hash dee5708) |
Rather confused by the style error here. Line 322 is a function definition.
|
dee5708
to
9218045
Compare
EWS run on previous version of this PR (hash 9218045) |
9218045
to
4dc212d
Compare
EWS run on current version of this PR (hash 4dc212d) |
https://bugs.webkit.org/show_bug.cgi?id=257415 Reviewed by Tim Nguyen. ScrollbarControlSize enum has been removed and usages of it replaced with the equivalent ScrollbarWidth enum. ScrollbarWidth enum has been moved into ScrollTypes.h This patch has no behaviour changes. * Source/WebCore/page/LocalFrameView.cpp: (WebCore::LocalFrameView::createScrollbar): * Source/WebCore/platform/PopupMenuClient.h: * Source/WebCore/platform/ScrollTypes.cpp: (WebCore::operator<<): * Source/WebCore/platform/ScrollTypes.h: * Source/WebCore/platform/ScrollView.cpp: (WebCore::ScrollView::createScrollbar): * Source/WebCore/platform/Scrollbar.cpp: (WebCore::Scrollbar::createNativeScrollbar): (WebCore::Scrollbar::Scrollbar): (WebCore::Scrollbar::isHiddenByStyle const): * Source/WebCore/platform/Scrollbar.h: (WebCore::Scrollbar::widthStyle const): (WebCore::Scrollbar::controlSize const): Deleted. * Source/WebCore/platform/ScrollbarTheme.h: (WebCore::ScrollbarTheme::scrollbarThickness): * Source/WebCore/platform/ScrollbarThemeComposite.cpp: (WebCore::ScrollbarThemeComposite::minimumThumbLength): * Source/WebCore/platform/adwaita/ScrollbarThemeAdwaita.cpp: (WebCore::ScrollbarThemeAdwaita::scrollbarThickness): * Source/WebCore/platform/adwaita/ScrollbarThemeAdwaita.h: * Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp: (WebCore::ScrollbarThemeGtk::scrollbarThickness): * Source/WebCore/platform/gtk/ScrollbarThemeGtk.h: * Source/WebCore/platform/ios/ScrollbarThemeIOS.h: * Source/WebCore/platform/ios/ScrollbarThemeIOS.mm: (WebCore::ScrollbarThemeIOS::scrollbarThickness): * Source/WebCore/platform/mac/ScrollbarThemeMac.h: * Source/WebCore/platform/mac/ScrollbarThemeMac.mm: (WebCore::scrollbarWidthToNSControlSize): (WebCore::ScrollbarThemeMac::registerScrollbar): (WebCore::ScrollbarThemeMac::scrollbarThickness): (WebCore::scrollbarWidthToIndex): (WebCore::ScrollbarThemeMac::hasButtons): (WebCore::buttonRepaintRect): (WebCore::ScrollbarThemeMac::backButtonRect): (WebCore::ScrollbarThemeMac::forwardButtonRect): (WebCore::ScrollbarThemeMac::trackRect): (WebCore::scrollbarControlSizeToNSControlSize): Deleted. (WebCore::scrollbarSizeToIndex): Deleted. * Source/WebCore/platform/mac/ScrollbarsControllerMac.mm: (WebCore::ScrollbarsControllerMac::updateScrollerStyle): * Source/WebCore/platform/mock/ScrollbarThemeMock.cpp: (WebCore::ScrollbarThemeMock::scrollbarThickness): * Source/WebCore/platform/mock/ScrollbarThemeMock.h: * Source/WebCore/platform/playstation/ScrollbarThemePlayStation.cpp: (WebCore::ScrollbarThemePlayStation::scrollbarThickness): * Source/WebCore/platform/playstation/ScrollbarThemePlayStation.h: * Source/WebCore/platform/win/PopupMenuWin.cpp: (WebCore::PopupMenuWin::show): (WebCore::PopupMenuWin::calculatePositionAndSize): * Source/WebCore/platform/win/ScrollbarThemeWin.cpp: (WebCore::ScrollbarThemeWin::scrollbarThickness): * Source/WebCore/platform/win/ScrollbarThemeWin.h: * Source/WebCore/rendering/RenderLayerScrollableArea.cpp: (WebCore::RenderLayerScrollableArea::createScrollbar): * Source/WebCore/rendering/RenderListBox.cpp: (WebCore::RenderListBox::createScrollbar): * Source/WebCore/rendering/RenderMenuList.cpp: (RenderMenuList::createScrollbar): * Source/WebCore/rendering/RenderMenuList.h: * Source/WebCore/rendering/RenderScrollbar.cpp: (WebCore::RenderScrollbar::RenderScrollbar): * Source/WebCore/rendering/RenderScrollbarTheme.h: * Source/WebCore/rendering/RenderSearchField.cpp: (WebCore::RenderSearchField::createScrollbar): * Source/WebCore/rendering/RenderSearchField.h: * Source/WebCore/rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::scrollbarThickness const): * Source/WebCore/rendering/RenderTheme.h: (WebCore::RenderTheme::scrollbarWidthStyleForPart): (WebCore::RenderTheme::scrollbarControlSizeForPart): Deleted. * Source/WebCore/rendering/RenderThemeMac.h: * Source/WebCore/rendering/style/RenderStyleConstants.cpp: (WebCore::operator<<): * Source/WebCore/rendering/style/RenderStyleConstants.h: * Source/WebCore/rendering/style/StyleRareNonInheritedData.h: * Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.cpp: (WebKit::WebPopupMenuProxyWin::showPopupMenu): (WebKit::WebPopupMenuProxyWin::calculatePositionAndSize): * Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm: (WebKit::PDFPlugin::createScrollbar): Canonical link: https://commits.webkit.org/264639@main
4dc212d
to
0b067f4
Compare
Committed 264639@main (0b067f4): https://commits.webkit.org/264639@main Reviewed commits have been landed. Closing PR #14430 and removing active labels. |
0b067f4
4dc212d