Lines Matching defs:scrollbar
97 PassRefPtr<Scrollbar> ScrollView::createScrollbar(ScrollbarOrientation orientation)
99 return Scrollbar::create(this, orientation, RegularScrollbar);
177 if (Scrollbar* verticalBar = verticalScrollbar())
179 if (Scrollbar* horizontalBar = horizontalScrollbar())
244 Scrollbar* scrollbar = ((orientation == HorizontalScrollbar) ? m_horizontalScrollbar : m_verticalScrollbar).get();
247 if (!scrollbar) {
253 return scrollbar->totalSize() - scrollbar->visibleSize();
372 // If we ever turn one scrollbar off, always turn the other one off too.
373 // Never ever try to both gain/lose a scrollbar in the same pass.
691 Scrollbar* ScrollView::scrollbarAtWindowPoint(const IntPoint& windowPoint)
697 Scrollbar* ScrollView::scrollbarAtViewPoint(const IntPoint& viewPoint)
727 static void positionScrollbarLayer(GraphicsLayer* graphicsLayer, Scrollbar* scrollbar)
729 if (!graphicsLayer || !scrollbar)
732 IntRect scrollbarRect = scrollbar->frameRect();
838 void ScrollView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect)
1017 IntRect ScrollView::convertFromScrollbarToContainingView(const Scrollbar* scrollbar, const IntRect& localRect) const
1021 newRect.moveBy(scrollbar->location());
1025 IntRect ScrollView::convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntRect& parentRect) const
1029 newRect.moveBy(-scrollbar->location());
1034 IntPoint ScrollView::convertFromScrollbarToContainingView(const Scrollbar* scrollbar, const IntPoint& localPoint) const
1038 newPoint.moveBy(scrollbar->location());
1042 IntPoint ScrollView::convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntPoint& parentPoint) const
1046 newPoint.moveBy(-scrollbar->location());