Home | History | Annotate | Download | only in scroll

Lines Matching refs:Scrollbar

27 #include "platform/scroll/Scrollbar.h"
41 // The position of the scrollbar thumb affects the appearance of the steppers, so
48 PassRefPtr<Scrollbar> Scrollbar::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size)
50 return adoptRef(new Scrollbar(scrollableArea, orientation, size));
53 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, ScrollbarTheme* theme)
69 , m_scrollTimer(this, &Scrollbar::autoscrollTimerFired)
80 // scrollbar thickness and use it when sizing scrollbars (rather than leaving one dimension of the scrollbar
88 Scrollbar::~Scrollbar()
95 void Scrollbar::removeFromParent()
101 ScrollView* Scrollbar::parentScrollView() const
106 ScrollView* Scrollbar::rootScrollView() const
111 ScrollbarOverlayStyle Scrollbar::scrollbarOverlayStyle() const
116 void Scrollbar::getTickmarks(Vector<IntRect>& tickmarks) const
122 bool Scrollbar::isScrollableAreaActive() const
127 bool Scrollbar::isScrollViewScrollbar() const
132 bool Scrollbar::isLeftSideVerticalScrollbar() const
139 void Scrollbar::offsetDidChange()
154 void Scrollbar::setProportion(int visibleSize, int totalSize)
165 void Scrollbar::updateThumb()
174 void Scrollbar::updateThumbPosition()
179 void Scrollbar::updateThumbProportion()
184 void Scrollbar::paint(GraphicsContext* context, const IntRect& damageRect)
198 void Scrollbar::autoscrollTimerFired(Timer<Scrollbar>*)
203 static bool thumbUnderMouse(Scrollbar* scrollbar)
205 int thumbPos = scrollbar->theme()->trackPosition(scrollbar) + scrollbar->theme()->thumbPosition(scrollbar);
206 int thumbLength = scrollbar->theme()->thumbLength(scrollbar);
207 return scrollbar->pressedPos() >= thumbPos && scrollbar->pressedPos() < thumbPos + thumbLength;
210 void Scrollbar::autoscrollPressedPart(double delay)
228 void Scrollbar::startTimerIfNeeded(double delay)
255 void Scrollbar::stopTimerIfNeeded()
261 ScrollDirection Scrollbar::pressedPartScrollDirection()
274 ScrollGranularity Scrollbar::pressedPartScrollGranularity()
281 void Scrollbar::moveThumb(int pos, bool draggingDocument)
322 void Scrollbar::setHoveredPart(ScrollbarPart part)
328 invalidate(); // Just invalidate the whole scrollbar, since the buttons at either end change anyway.
336 void Scrollbar::setPressedPart(ScrollbarPart part)
347 bool Scrollbar::gestureEvent(const PlatformGestureEvent& evt)
385 // By default, we assume that gestures don't deselect the scrollbar.
390 void Scrollbar::mouseMoved(const PlatformMouseEvent& evt)
429 void Scrollbar::mouseEntered()
435 void Scrollbar::mouseExited()
442 void Scrollbar::mouseUp(const PlatformMouseEvent& mouseEvent)
451 // to really know if the mouse has exited the scrollbar on a mouseUp.
458 void Scrollbar::mouseDown(const PlatformMouseEvent& evt)
486 void Scrollbar::setFrameRect(const IntRect& rect)
520 void Scrollbar::setParent(Widget* parentView)
527 void Scrollbar::setEnabled(bool e)
536 bool Scrollbar::isOverlayScrollbar() const
541 bool Scrollbar::shouldParticipateInHitTesting()
549 bool Scrollbar::isWindowActive() const
554 void Scrollbar::invalidateRect(const IntRect& rect)
563 IntRect Scrollbar::convertToContainingView(const IntRect& localRect) const
571 IntRect Scrollbar::convertFromContainingView(const IntRect& parentRect) const
579 IntPoint Scrollbar::convertToContainingView(const IntPoint& localPoint) const
587 IntPoint Scrollbar::convertFromContainingView(const IntPoint& parentPoint) const
595 float Scrollbar::scrollableAreaCurrentPos() const