Home | History | Annotate | Download | only in scroll

Lines Matching defs:Scrollbar

27 #include "platform/scroll/Scrollbar.h"
39 // The position of the scrollbar thumb affects the appearance of the steppers, so
46 PassRefPtr<Scrollbar> Scrollbar::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size)
48 return adoptRef(new Scrollbar(scrollableArea, orientation, size));
51 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, ScrollbarTheme* theme)
67 , m_scrollTimer(this, &Scrollbar::autoscrollTimerFired)
78 // scrollbar thickness and use it when sizing scrollbars (rather than leaving one dimension of the scrollbar
86 Scrollbar::~Scrollbar()
93 void Scrollbar::removeFromParent()
99 ScrollView* Scrollbar::parentScrollView() const
104 ScrollbarOverlayStyle Scrollbar::scrollbarOverlayStyle() const
109 void Scrollbar::getTickmarks(Vector<IntRect>& tickmarks) const
115 bool Scrollbar::isScrollableAreaActive() const
120 bool Scrollbar::isScrollViewScrollbar() const
125 bool Scrollbar::isLeftSideVerticalScrollbar() const
132 void Scrollbar::offsetDidChange()
147 void Scrollbar::setProportion(int visibleSize, int totalSize)
158 void Scrollbar::updateThumb()
167 void Scrollbar::updateThumbPosition()
172 void Scrollbar::updateThumbProportion()
177 void Scrollbar::paint(GraphicsContext* context, const IntRect& damageRect)
186 void Scrollbar::autoscrollTimerFired(Timer<Scrollbar>*)
191 static bool thumbUnderMouse(Scrollbar* scrollbar)
193 int thumbPos = scrollbar->theme()->trackPosition(scrollbar) + scrollbar->theme()->thumbPosition(scrollbar);
194 int thumbLength = scrollbar->theme()->thumbLength(scrollbar);
195 return scrollbar->pressedPos() >= thumbPos && scrollbar->pressedPos() < thumbPos + thumbLength;
198 void Scrollbar::autoscrollPressedPart(double delay)
216 void Scrollbar::startTimerIfNeeded(double delay)
243 void Scrollbar::stopTimerIfNeeded()
249 ScrollDirection Scrollbar::pressedPartScrollDirection()
262 ScrollGranularity Scrollbar::pressedPartScrollGranularity()
269 void Scrollbar::moveThumb(int pos, bool draggingDocument)
310 void Scrollbar::setHoveredPart(ScrollbarPart part)
316 invalidate(); // Just invalidate the whole scrollbar, since the buttons at either end change anyway.
324 void Scrollbar::setPressedPart(ScrollbarPart part)
335 bool Scrollbar::gestureEvent(const PlatformGestureEvent& evt)
373 // By default, we assume that gestures don't deselect the scrollbar.
378 void Scrollbar::mouseMoved(const PlatformMouseEvent& evt)
417 void Scrollbar::mouseEntered()
423 void Scrollbar::mouseExited()
430 void Scrollbar::mouseUp(const PlatformMouseEvent& mouseEvent)
439 // to really know if the mouse has exited the scrollbar on a mouseUp.
446 void Scrollbar::mouseDown(const PlatformMouseEvent& evt)
474 void Scrollbar::setFrameRect(const IntRect& rect)
508 void Scrollbar::setParent(Widget* parentView)
515 void Scrollbar::setEnabled(bool e)
524 bool Scrollbar::isOverlayScrollbar() const
529 bool Scrollbar::shouldParticipateInHitTesting()
537 bool Scrollbar::isWindowActive() const
542 void Scrollbar::invalidateRect(const IntRect& rect)
551 IntRect Scrollbar::convertToContainingView(const IntRect& localRect) const
559 IntRect Scrollbar::convertFromContainingView(const IntRect& parentRect) const
567 IntPoint Scrollbar::convertToContainingView(const IntPoint& localPoint) const
575 IntPoint Scrollbar::convertFromContainingView(const IntPoint& parentPoint) const
583 float Scrollbar::scrollableAreaCurrentPos() const