Lines Matching defs:scrollbar
257 Scrollbar* horizontalBar = horizontalScrollbar();
261 Scrollbar* verticalBar = verticalScrollbar();
278 // and determine which scrollbar style to use based on a lightness
303 // FIXME: do all scrollbar invalidations after layout of all frames is complete. It's currently not recursively true.
381 // FIXME: We need to update the scrollbar dynamically as documents change (or as doc elements and bodies get discovered that have custom styles).
384 // Try the <body> element first as a scrollbar source.
386 if (body && body->renderer() && body->renderer()->style()->hasPseudoStyle(SCROLLBAR)) {
393 if (docElement && docElement->renderer() && docElement->renderer()->style()->hasPseudoStyle(SCROLLBAR)) {
398 // If we have an owning ipage/LocalFrame element, then it can set the custom scrollbar also.
400 if (frameRenderer && frameRenderer->style()->hasPseudoStyle(SCROLLBAR)) {
408 PassRefPtr<Scrollbar> FrameView::createScrollbar(ScrollbarOrientation orientation)
415 // Nobody set a custom style, so we just use a native scrollbar.
855 // Now set our scrollbar state for the layout.
870 setVerticalScrollbarMode(ScrollbarAlwaysOn); // This causes a vertical scrollbar to appear.
873 setHorizontalScrollbarMode(ScrollbarAlwaysOff); // This causes a horizontal scrollbar to disappear.
2181 void FrameView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
2185 dirtyRect.moveBy(scrollbar->location());
2188 addScrollbarDamage(scrollbar, rect);
2380 // If we have an owning ipage/LocalFrame element, then it can set the custom scrollbar also.
2412 void FrameView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect)
2462 Scrollbar* scrollbar = static_cast<Scrollbar*>(widget);
2463 if (scrollbar->isCustomScrollbar())
3096 void FrameView::didAddScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation)
3098 ScrollableArea::didAddScrollbar(scrollbar, orientation);
3103 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation)
3105 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3107 cache->remove(scrollbar);