Home
last modified time | relevance | path

Searched refs:Scrollbar (Results 1 – 25 of 176) sorted by relevance

12345678

/external/webkit/Source/WebCore/platform/
DScrollbarThemeComposite.h35 virtual bool paint(Scrollbar*, GraphicsContext* context, const IntRect& damageRect);
37 virtual ScrollbarPart hitTest(Scrollbar*, const PlatformMouseEvent&);
39 virtual void invalidatePart(Scrollbar*, ScrollbarPart);
41 virtual int thumbPosition(Scrollbar*);
42 virtual int thumbLength(Scrollbar*);
43 virtual int trackPosition(Scrollbar*);
44 virtual int trackLength(Scrollbar*);
49 virtual bool hasButtons(Scrollbar*) = 0;
50 virtual bool hasThumb(Scrollbar*) = 0;
52 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false) = 0;
[all …]
DScrollbar.cpp52 PassRefPtr<Scrollbar> Scrollbar::createNativeScrollbar(ScrollableArea* scrollableArea, ScrollbarOri… in createNativeScrollbar()
54 return adoptRef(new Scrollbar(scrollableArea, orientation, size)); in createNativeScrollbar()
58 int Scrollbar::maxOverlapBetweenPages() in maxOverlapBetweenPages()
64 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarCon… in Scrollbar() function in WebCore::Scrollbar
81 , m_scrollTimer(this, &Scrollbar::autoscrollTimerFired) in Scrollbar()
97 Scrollbar::~Scrollbar() in ~Scrollbar()
107 void Scrollbar::offsetDidChange() in offsetDidChange()
122 void Scrollbar::setProportion(int visibleSize, int totalSize) in setProportion()
133 void Scrollbar::setSteps(int lineStep, int pageStep, int pixelsPerStep) in setSteps()
140 void Scrollbar::updateThumb() in updateThumb()
[all …]
DScrollbarTheme.h36 class Scrollbar; variable
45 … virtual bool paint(Scrollbar*, GraphicsContext*, const IntRect& /*damageRect*/) { return false; } in paint() argument
46 virtual ScrollbarPart hitTest(Scrollbar*, const PlatformMouseEvent&) { return NoPart; } in hitTest() argument
59 void invalidateParts(Scrollbar* scrollbar, ScrollbarControlPartMask mask) in invalidateParts()
77 virtual void invalidatePart(Scrollbar*, ScrollbarPart) {} in invalidatePart() argument
82 virtual bool shouldCenterOnThumb(Scrollbar*, const PlatformMouseEvent&) { return false; } in shouldCenterOnThumb() argument
83 virtual bool shouldSnapBackToDragOrigin(Scrollbar*, const PlatformMouseEvent&) { return false; } in shouldSnapBackToDragOrigin() argument
84 …virtual int thumbPosition(Scrollbar*) { return 0; } // The position of the thumb relative to the t… in thumbPosition() argument
85 …virtual int thumbLength(Scrollbar*) { return 0; } // The length of the thumb along the axis of the… in thumbLength() argument
86 …virtual int trackPosition(Scrollbar*) { return 0; } // The position of the track relative to the s… in trackPosition() argument
[all …]
DScrollableArea.h74 void didAddVerticalScrollbar(Scrollbar*);
75 void willRemoveVerticalScrollbar(Scrollbar*);
76 void didAddHorizontalScrollbar(Scrollbar*);
77 void willRemoveHorizontalScrollbar(Scrollbar*);
86 virtual int scrollPosition(Scrollbar*) const = 0;
87 void invalidateScrollbar(Scrollbar*, const IntRect&);
100 …virtual IntRect convertFromScrollbarToContainingView(const Scrollbar* scrollbar, const IntRect& sc… in convertFromScrollbarToContainingView()
104 …virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntRect& pa… in convertFromContainingViewToScrollbar()
108 …virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar* scrollbar, const IntPoint& … in convertFromScrollbarToContainingView()
112 …virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntPoint& … in convertFromContainingViewToScrollbar()
[all …]
DScrollableArea.cpp61 Scrollbar* scrollbar; in scroll()
135 Scrollbar* verticalScrollbar = this->verticalScrollbar(); in setScrollOffsetFromAnimation()
138 if (Scrollbar* horizontalScrollbar = this->horizontalScrollbar()) { in setScrollOffsetFromAnimation()
175 void ScrollableArea::didAddVerticalScrollbar(Scrollbar* scrollbar) in didAddVerticalScrollbar()
180 void ScrollableArea::willRemoveVerticalScrollbar(Scrollbar* scrollbar) in willRemoveVerticalScrollbar()
185 void ScrollableArea::didAddHorizontalScrollbar(Scrollbar* scrollbar) in didAddHorizontalScrollbar()
190 void ScrollableArea::willRemoveHorizontalScrollbar(Scrollbar* scrollbar) in willRemoveHorizontalScrollbar()
201 void ScrollableArea::invalidateScrollbar(Scrollbar* scrollbar, const IntRect& rect) in invalidateScrollbar()
DScrollAnimator.h42 class Scrollbar; variable
83 virtual void didAddVerticalScrollbar(Scrollbar*) { } in didAddVerticalScrollbar() argument
84 virtual void willRemoveVerticalScrollbar(Scrollbar*) { } in willRemoveVerticalScrollbar() argument
85 virtual void didAddHorizontalScrollbar(Scrollbar*) { } in didAddHorizontalScrollbar() argument
86 virtual void willRemoveHorizontalScrollbar(Scrollbar*) { } in willRemoveHorizontalScrollbar() argument
/external/webkit/Source/WebCore/platform/gtk/
DScrollbarThemeGtk.h33 class Scrollbar; variable
40 virtual bool hasButtons(Scrollbar*) { return true; } in hasButtons() argument
41 virtual bool hasThumb(Scrollbar*);
42 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool);
43 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool);
44 virtual IntRect trackRect(Scrollbar*, bool);
45 IntRect thumbRect(Scrollbar*, const IntRect& unconstrainedTrackRect);
46 bool paint(Scrollbar*, GraphicsContext*, const IntRect& damageRect);
47 void paintScrollbarBackground(GraphicsContext*, Scrollbar*);
48 void paintTrackBackground(GraphicsContext*, Scrollbar*, const IntRect&);
[all …]
DScrollbarThemeGtk.cpp36 static HashSet<Scrollbar*>* gScrollbars;
48 void ScrollbarThemeGtk::registerScrollbar(Scrollbar* scrollbar) in registerScrollbar()
51 gScrollbars = new HashSet<Scrollbar*>; in registerScrollbar()
55 void ScrollbarThemeGtk::unregisterScrollbar(Scrollbar* scrollbar) in unregisterScrollbar()
72 HashSet<Scrollbar*>::iterator end = gScrollbars->end(); in updateScrollbarsFrameThickness()
73 for (HashSet<Scrollbar*>::iterator it = gScrollbars->begin(); it != end; ++it) { in updateScrollbarsFrameThickness()
74 Scrollbar* scrollbar = (*it); in updateScrollbarsFrameThickness()
89 bool ScrollbarThemeGtk::hasThumb(Scrollbar* scrollbar) in hasThumb()
96 IntRect ScrollbarThemeGtk::backButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool) in backButtonRect()
115 IntRect ScrollbarThemeGtk::forwardButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool) in forwardButtonRect()
[all …]
DScrollViewGtk.cpp65 PassRefPtr<Scrollbar> ScrollView::createScrollbar(ScrollbarOrientation orientation) in createScrollbar()
70 return Scrollbar::createNativeScrollbar(this, orientation, RegularScrollbar); in createScrollbar()
112 …ep = max(max<int>(frameRect().width() * Scrollbar::minFractionToStepWhenPaging(), frameRect().widt… in setHorizontalAdjustment()
116 resetValues ? 0 : Scrollbar::pixelsPerLineStep(), in setHorizontalAdjustment()
151 …ep = max(max<int>(frameRect().width() * Scrollbar::minFractionToStepWhenPaging(), frameRect().widt… in setVerticalAdjustment()
155 resetValues ? 0 : Scrollbar::pixelsPerLineStep(), in setVerticalAdjustment()
/external/webkit/Source/WebCore/rendering/
DRenderScrollbarTheme.h34 class Scrollbar; variable
49 …virtual bool shouldCenterOnThumb(Scrollbar* scrollbar, const PlatformMouseEvent& event) { return S… in shouldCenterOnThumb()
54 …virtual void registerScrollbar(Scrollbar* scrollbar) { return ScrollbarTheme::nativeTheme()->regis… in registerScrollbar()
55 …virtual void unregisterScrollbar(Scrollbar* scrollbar) { return ScrollbarTheme::nativeTheme()->unr… in unregisterScrollbar()
57 virtual int minimumThumbLength(Scrollbar*);
59 void buttonSizesAlongTrackAxis(Scrollbar* scrollbar, int& beforeSize, int& afterSize);
64 virtual bool hasButtons(Scrollbar*);
65 virtual bool hasThumb(Scrollbar*);
67 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
68 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
[all …]
DRenderScrollbarTheme.cpp39 void RenderScrollbarTheme::buttonSizesAlongTrackAxis(Scrollbar* scrollbar, int& beforeSize, int& af… in buttonSizesAlongTrackAxis()
54 bool RenderScrollbarTheme::hasButtons(Scrollbar* scrollbar) in hasButtons()
62 bool RenderScrollbarTheme::hasThumb(Scrollbar* scrollbar) in hasThumb()
67 int RenderScrollbarTheme::minimumThumbLength(Scrollbar* scrollbar) in minimumThumbLength()
72 IntRect RenderScrollbarTheme::backButtonRect(Scrollbar* scrollbar, ScrollbarPart partType, bool) in backButtonRect()
77 IntRect RenderScrollbarTheme::forwardButtonRect(Scrollbar* scrollbar, ScrollbarPart partType, bool) in forwardButtonRect()
82 IntRect RenderScrollbarTheme::trackRect(Scrollbar* scrollbar, bool) in trackRect()
94 IntRect RenderScrollbarTheme::constrainTrackRectToTrackPieces(Scrollbar* scrollbar, const IntRect& … in constrainTrackRectToTrackPieces()
115 void RenderScrollbarTheme::paintScrollbarBackground(GraphicsContext* context, Scrollbar* scrollbar) in paintScrollbarBackground()
120 void RenderScrollbarTheme::paintTrackBackground(GraphicsContext* context, Scrollbar* scrollbar, con… in paintTrackBackground()
[all …]
DRenderDataGrid.h72 virtual void valueChanged(Scrollbar*);
73 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&);
76 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const IntRect&) const;
77 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const IntRect&) const;
78 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, const IntPoint&) const;
79 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, const IntPoint&) const;
84 RefPtr<Scrollbar> m_vBar;
DRenderListBox.h103 virtual int scrollPosition(Scrollbar*) const;
105 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&);
110 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const IntRect&) const;
111 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const IntRect&) const;
112 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, const IntPoint&) const;
113 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, const IntPoint&) const;
114 virtual Scrollbar* verticalScrollbar() const { return m_vBar.get(); } in verticalScrollbar()
127 PassRefPtr<Scrollbar> createScrollbar();
146 RefPtr<Scrollbar> m_vBar;
/external/webkit/Source/WebCore/platform/mac/
DScrollbarThemeMac.h39 virtual bool paint(Scrollbar*, GraphicsContext* context, const IntRect& damageRect);
51 virtual void registerScrollbar(Scrollbar*);
52 virtual void unregisterScrollbar(Scrollbar*);
55 void setNewPainterForScrollbar(Scrollbar*, WKScrollbarPainterRef);
56 WKScrollbarPainterRef painterForScrollbar(Scrollbar*);
60 virtual bool hasButtons(Scrollbar*);
61 virtual bool hasThumb(Scrollbar*);
63 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
64 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
65 virtual IntRect trackRect(Scrollbar*, bool painting = false);
[all …]
/external/webkit/Source/WebCore/platform/win/
DScrollbarThemeWin.h45 virtual bool hasButtons(Scrollbar*) { return true; } in hasButtons() argument
46 virtual bool hasThumb(Scrollbar*);
48 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
49 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
50 virtual IntRect trackRect(Scrollbar*, bool painting = false);
52 virtual bool shouldCenterOnThumb(Scrollbar*, const PlatformMouseEvent&);
53 virtual bool shouldSnapBackToDragOrigin(Scrollbar*, const PlatformMouseEvent&);
55 virtual void paintTrackBackground(GraphicsContext*, Scrollbar*, const IntRect&);
56 virtual void paintTrackPiece(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart);
57 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart);
[all …]
DScrollbarThemeSafari.h44 virtual bool hasButtons(Scrollbar*);
45 virtual bool hasThumb(Scrollbar*);
47 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
48 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
49 virtual IntRect trackRect(Scrollbar*, bool painting = false);
51 virtual int minimumThumbLength(Scrollbar*);
53 virtual bool shouldCenterOnThumb(Scrollbar*, const PlatformMouseEvent&);
55 virtual void paintTrackBackground(GraphicsContext*, Scrollbar*, const IntRect&);
56 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart);
57 virtual void paintThumb(GraphicsContext*, Scrollbar*, const IntRect&);
/external/webkit/Source/WebCore/platform/chromium/
DScrollbarThemeChromiumMac.h42 virtual bool paint(Scrollbar*, GraphicsContext* context, const IntRect& damageRect);
53 virtual void registerScrollbar(Scrollbar*);
54 virtual void unregisterScrollbar(Scrollbar*);
57 virtual bool hasButtons(Scrollbar*);
58 virtual bool hasThumb(Scrollbar*);
60 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
61 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
62 virtual IntRect trackRect(Scrollbar*, bool painting = false);
64 virtual int minimumThumbLength(Scrollbar*);
66 virtual bool shouldCenterOnThumb(Scrollbar*, const PlatformMouseEvent&);
DScrollbarThemeChromiumWin.h41 virtual bool shouldSnapBackToDragOrigin(Scrollbar*, const PlatformMouseEvent&);
44 virtual void paintTrackPiece(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart);
45 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart);
46 virtual void paintThumb(GraphicsContext*, Scrollbar*, const IntRect&);
47 virtual bool shouldCenterOnThumb(Scrollbar*, const PlatformMouseEvent&);
48 virtual IntSize buttonSize(Scrollbar*);
51 int getThemeState(Scrollbar*, ScrollbarPart) const;
52 int getThemeArrowState(Scrollbar*, ScrollbarPart) const;
53 int getClassicThemeState(Scrollbar*, ScrollbarPart) const;
DScrollbarThemeChromium.h44 virtual bool hasButtons(Scrollbar*) { return true; } in hasButtons() argument
45 virtual bool hasThumb(Scrollbar*);
47 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
48 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
49 virtual IntRect trackRect(Scrollbar*, bool painting = false);
51 virtual void paintTrackBackground(GraphicsContext*, Scrollbar*, const IntRect&);
52 virtual void paintTickmarks(GraphicsContext*, Scrollbar*, const IntRect&);
54 virtual IntSize buttonSize(Scrollbar*) = 0;
DScrollbarThemeChromiumLinux.h42 virtual void paintTrackPiece(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart);
43 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart);
44 virtual void paintThumb(GraphicsContext*, Scrollbar*, const IntRect&);
45 virtual bool shouldCenterOnThumb(Scrollbar*, const PlatformMouseEvent&);
46 virtual IntSize buttonSize(Scrollbar*);
47 virtual int minimumThumbLength(Scrollbar*);
/external/webkit/Source/WebCore/platform/haiku/
DScrollbarThemeHaiku.h33 class Scrollbar; variable
42 virtual bool hasButtons(Scrollbar*);
43 virtual bool hasThumb(Scrollbar*);
45 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting);
46 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting);
47 virtual IntRect trackRect(Scrollbar*, bool painting);
49 virtual void paintScrollbarBackground(GraphicsContext*, Scrollbar*);
50 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart);
51 virtual void paintThumb(GraphicsContext*, Scrollbar*, const IntRect&);
/external/webkit/Source/WebCore/platform/wx/
DScrollbarThemeWx.h38 virtual bool paint(Scrollbar*, GraphicsContext*, const IntRect&);
43 virtual bool hasButtons(Scrollbar*) { return true; } in hasButtons() argument
44 virtual bool hasThumb(Scrollbar*);
46 virtual IntSize buttonSize(Scrollbar*);
48 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
49 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting = false);
50 virtual IntRect trackRect(Scrollbar*, bool painting = false);
52 …virtual void splitTrack(Scrollbar*, const IntRect& track, IntRect& startTrack, IntRect& thumb, Int…
54 virtual int minimumThumbLength(Scrollbar*);
/external/webkit/Source/WebCore/platform/qt/
DScrollbarThemeQt.h43 virtual bool paint(Scrollbar*, GraphicsContext*, const IntRect& damageRect);
46 virtual ScrollbarPart hitTest(Scrollbar*, const PlatformMouseEvent&);
48 virtual bool shouldCenterOnThumb(Scrollbar*, const PlatformMouseEvent&);
50 virtual void invalidatePart(Scrollbar*, ScrollbarPart);
52 virtual int thumbPosition(Scrollbar*);
53 virtual int thumbLength(Scrollbar*);
54 virtual int trackPosition(Scrollbar*);
55 virtual int trackLength(Scrollbar*);
/external/webkit/Source/WebKit/chromium/src/
DWebScrollbarImpl.h40 class Scrollbar; variable
62 virtual int scrollPosition(WebCore::Scrollbar*) const;
64 virtual void invalidateScrollbarRect(WebCore::Scrollbar*, const WebCore::IntRect&);
70 virtual WebCore::Scrollbar* horizontalScrollbar() const;
71 virtual WebCore::Scrollbar* verticalScrollbar() const;
84 RefPtr<WebCore::Scrollbar> m_scrollbar;
/external/webkit/Source/WebCore/accessibility/
DAccessibilityScrollbar.h36 class Scrollbar; variable
40 static PassRefPtr<AccessibilityScrollbar> create(Scrollbar*);
42 Scrollbar* scrollbar() const { return m_scrollbar.get(); } in scrollbar()
46 AccessibilityScrollbar(Scrollbar*);
65 RefPtr<Scrollbar> m_scrollbar;

12345678