Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4c3661f361f0797accb21d8fd406347eeee81f98 https://github.com/WebKit/WebKit/commit/4c3661f361f0797accb21d8fd406347eeee81f98 Author: Abrar Rahman Protyasha <a_protya...@apple.com> Date: 2024-04-01 (Mon, 01 Apr 2024)
Changed paths: M Source/WebCore/platform/ScrollView.cpp M Source/WebCore/platform/ScrollView.h M Source/WebCore/platform/ScrollableArea.cpp M Source/WebCore/platform/ScrollableArea.h M Source/WebCore/rendering/RenderLayerScrollableArea.cpp Log Message: ----------- VisibleContentRectIncludesScrollbars should be an enum class https://bugs.webkit.org/show_bug.cgi?id=271919 rdar://125636091 Reviewed by Simon Fraser. This patch performs a mechanical `enum class`-ification of VisibleContentRectIncludesScrollbars. It also renames the enum cases from ExcludeScrollbars/IncludeScrollbars to No/Yes respectively, since that conveys the same information but reads better. * Source/WebCore/platform/ScrollView.cpp: (WebCore::ScrollView::sizeForVisibleContent const): (WebCore::ScrollView::sizeForUnobscuredContent const): (WebCore::ScrollView::visibleContentRectInternal const): * Source/WebCore/platform/ScrollView.h: (WebCore::ScrollView::unobscuredContentRectIncludingScrollbars const): * Source/WebCore/platform/ScrollableArea.cpp: (WebCore::ScrollableArea::visibleContentRect const): (WebCore::ScrollableArea::visibleContentRectIncludingScrollbars const): (WebCore::ScrollableArea::visibleContentRectInternal const): * Source/WebCore/platform/ScrollableArea.h: * Source/WebCore/rendering/RenderLayerScrollableArea.cpp: (WebCore::RenderLayerScrollableArea::visibleContentRectInternal const): Canonical link: https://commits.webkit.org/276908@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes