Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Clean up the boolean argument to visibleContentRect
https://bugs.webkit.org/show_bug.cgi?id=110167 Source/WebCore: Reviewed by Simon Fraser. Replace the boolean argument to visibleContentRect() with an enum. No behavior change. * WebCore.exp.in: * dom/Document.cpp: (WebCore::Document::viewportSize): * inspector/InspectorOverlay.cpp: (WebCore::InspectorOverlay::update): * page/DOMWindow.cpp: (WebCore::DOMWindow::innerHeight): (WebCore::DOMWindow::innerWidth): * page/FrameView.cpp: (WebCore::FrameView::calculateScrollbarModesForLayout): (WebCore::FrameView::layout): (WebCore::FrameView::performPostLayoutTasks): (WebCore::FrameView::windowClipRect): * page/SpatialNavigation.cpp: (WebCore::canScrollInDirection): * platform/ScrollView.cpp: (WebCore::ScrollView::unscaledVisibleContentSize): (WebCore::ScrollView::visibleContentRect): (WebCore::ScrollView::layoutSize): (WebCore::ScrollView::updateScrollbars): (WebCore::ScrollView::paint): * platform/ScrollView.h: * platform/ScrollableArea.cpp: (WebCore::ScrollableArea::visibleContentRect): * platform/ScrollableArea.h: * rendering/RenderDialog.cpp: (WebCore::RenderDialog::layout): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::maximumScrollPosition): (WebCore::RenderLayer::visibleContentRect): * rendering/RenderLayer.h: * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::frameViewDidChangeSize): (WebCore::RenderLayerCompositor::updateRootLayerPosition): Source/WebKit/blackberry: Reviewed by Simon Fraser. Replace the boolean argument to visibleContentRect() with an enum. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::getRecursiveVisibleWindowRect): * WebKitSupport/InRegionScrollableArea.cpp: (BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea): Source/WebKit/chromium: Reviewed by Simon Fraser. Replace the boolean argument to visibleContentRect() with an enum. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::popupOpened): Source/WebKit/efl: Reviewed by Simon Fraser. Replace the boolean argument to visibleContentRect() with an enum. * ewk/ewk_frame.cpp: (ewk_frame_visible_content_geometry_get): Source/WebKit/win: Reviewed by Simon Fraser. Replace the boolean argument to visibleContentRect() with an enum. * WebFrame.cpp: (WebFrame::visibleContentRect): (WebFrame::frameBounds): Source/WebKit2: Reviewed by Simon Fraser. Replace the boolean argument to visibleContentRect() with an enum. * WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::visibleContentBounds): (WebKit::WebFrame::visibleContentBoundsExcludingScrollbars): Canonical link: https://commits.webkit.org/128482@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
30 changed files
with
166 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.