Home | History | Annotate | Download | only in frame

Lines Matching defs:scrollbar

279     Scrollbar* horizontalBar = horizontalScrollbar();
283 Scrollbar* verticalBar = verticalScrollbar();
300 // and determine which scrollbar style to use based on a lightness
418 // FIXME: We need to update the scrollbar dynamically as documents change (or as doc elements and bodies get discovered that have custom styles).
421 // Try the <body> element first as a scrollbar source.
423 if (body && body->renderer() && body->renderer()->style()->hasPseudoStyle(SCROLLBAR)) {
430 if (docElement && docElement->renderer() && docElement->renderer()->style()->hasPseudoStyle(SCROLLBAR)) {
435 // If we have an owning ipage/LocalFrame element, then it can set the custom scrollbar also.
437 if (frameRenderer && frameRenderer->style()->hasPseudoStyle(SCROLLBAR)) {
445 PassRefPtr<Scrollbar> FrameView::createScrollbar(ScrollbarOrientation orientation)
452 // Nobody set a custom style, so we just use a native scrollbar.
911 // Now set our scrollbar state for the layout.
926 scrollbar to appear.
929 setHorizontalScrollbarMode(ScrollbarAlwaysOff); // This causes a horizontal scrollbar to disappear.
2180 // Check to see if a scrollbar is needed for a given dimension and
2181 // if so, increase the other dimension to account for the scrollbar.
2185 RefPtr<Scrollbar> localHorizontalScrollbar = horizontalScrollbar();
2191 // Don't bother checking for a vertical scrollbar because the width is at
2194 RefPtr<Scrollbar> localVerticalScrollbar = verticalScrollbar();
2200 // Don't bother checking for a horizontal scrollbar because the height is
2229 // Force the scrollbar state to avoid the scrollbar code adding them and causing them to be needed. For example,
2230 // a vertical scrollbar may cause text to wrap and thus increase the height (which is the only reason the scollbar is needed).
2323 void FrameView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
2327 dirtyRect.moveBy(scrollbar->location());
2330 if (scrollbar == verticalScrollbar()) {
2523 // If we have an owning ipage/LocalFrame element, then it can set the custom scrollbar also.
2560 void FrameView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect)
2610 Scrollbar* scrollbar = static_cast<Scrollbar*>(widget);
2611 if (scrollbar->isCustomScrollbar())
2889 // Since autosize mode forces the scrollbar mode, change them to being auto.
3242 void FrameView::didAddScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation)
3244 ScrollableArea::didAddScrollbar(scrollbar, orientation);
3249 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation)
3251 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3253 cache->remove(scrollbar);