FloatPoint ScrollingTreeScrollingNode::maximumScrollPosition() const { FloatPoint contentSizePoint(totalContentsSize()); return FloatPoint(contentSizePoint - scrollableAreaSize()).expandedTo(FloatPoint()); }
IntPoint ScrollableArea::constrainScrollPositionForOverhang(const IntPoint& scrollPosition) { return constrainScrollPositionForOverhang(visibleContentRect(), totalContentsSize(), scrollPosition, scrollOrigin(), headerHeight(), footerHeight()); }
ScrollOffset ScrollableArea::maximumScrollOffset() const { return ScrollOffset(totalContentsSize() - visibleSize()); }
IntPoint ScrollableArea::maximumScrollPosition() const { return IntPoint(totalContentsSize().width() - visibleWidth(), totalContentsSize().height() - visibleHeight()); }
ScrollPosition ScrollableArea::maximumScrollPosition() const { return scrollPositionFromOffset(ScrollPosition(totalContentsSize() - visibleSize())); }