Lines Matching refs:scrollbar
197 Scrollbar* verticalScrollbar = this->verticalScrollbar();
200 if (Scrollbar* horizontalScrollbar = this->horizontalScrollbar()) {
301 void ScrollableArea::mouseEnteredScrollbar(Scrollbar* scrollbar) const
303 scrollAnimator()->mouseEnteredScrollbar(scrollbar);
306 void ScrollableArea::mouseExitedScrollbar(Scrollbar* scrollbar) const
308 scrollAnimator()->mouseExitedScrollbar(scrollbar);
329 void ScrollableArea::didAddScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation)
332 scrollAnimator()->didAddVerticalScrollbar(scrollbar);
334 scrollAnimator()->didAddHorizontalScrollbar(scrollbar);
336 // <rdar://problem/9797253> AppKit resets the scrollbar's style when you attach a scrollbar
340 void ScrollableArea::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation)
343 scrollAnimator()->willRemoveVerticalScrollbar(scrollbar);
345 scrollAnimator()->willRemoveHorizontalScrollbar(scrollbar);
356 Scrollbar* vScrollbar = verticalScrollbar();
359 Scrollbar* hScrollbar = horizontalScrollbar();
367 if (Scrollbar* scrollbar = horizontalScrollbar()) {
368 ScrollbarTheme::theme()->updateScrollbarOverlayStyle(scrollbar);
369 scrollbar->invalidate();
372 if (Scrollbar* scrollbar = verticalScrollbar()) {
373 ScrollbarTheme::theme()->updateScrollbarOverlayStyle(scrollbar);
374 scrollbar->invalidate();
378 void ScrollableArea::invalidateScrollbar(Scrollbar* scrollbar, const IntRect& rect)
380 if (scrollbar == horizontalScrollbar()) {
386 } else if (scrollbar == verticalScrollbar()) {
393 invalidateScrollbarRect(scrollbar, rect);
449 if (Scrollbar* verticalBar = verticalScrollbar())
451 if (Scrollbar* horizontalBar = horizontalScrollbar())