Searched refs:scrollbar (Results 1 - 25 of 100) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollbarThemeNonMacCommon.cpp37 bool ScrollbarThemeNonMacCommon::hasThumb(ScrollbarThemeClient* scrollbar) argument
41 return thumbLength(scrollbar) > 0;
44 IntRect ScrollbarThemeNonMacCommon::backButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool) argument
50 IntSize size = buttonSize(scrollbar);
51 return IntRect(scrollbar->x(), scrollbar->y(), size.width(), size.height());
54 IntRect ScrollbarThemeNonMacCommon::forwardButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool) argument
60 IntSize size = buttonSize(scrollbar);
62 if (scrollbar->orientation() == HorizontalScrollbar) {
63 x = scrollbar
72 trackRect(ScrollbarThemeClient* scrollbar, bool) argument
88 paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
95 paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
[all...]
H A DScrollbarThemeMacOverlayAPI.mm57 void ScrollbarThemeMacOverlayAPI::registerScrollbar(ScrollbarThemeClient* scrollbar)
59 ScrollbarThemeMacCommon::registerScrollbar(scrollbar);
61 bool isHorizontal = scrollbar->orientation() == HorizontalScrollbar;
62 ScrollbarPainter scrollbarPainter = [NSClassFromString(@"NSScrollerImp") scrollerImpWithStyle:recommendedScrollerStyle() controlSize:(NSControlSize)scrollbar->controlSize() horizontal:isHorizontal replacingScrollerImp:nil];
63 scrollbarPainterMap()->add(scrollbar, scrollbarPainter);
64 updateEnabledState(scrollbar);
65 updateScrollbarOverlayStyle(scrollbar);
68 void ScrollbarThemeMacOverlayAPI::unregisterScrollbar(ScrollbarThemeClient* scrollbar)
70 scrollbarPainterMap()->remove(scrollbar);
72 ScrollbarThemeMacCommon::unregisterScrollbar(scrollbar);
[all...]
H A DScrollbarTheme.cpp50 bool ScrollbarTheme::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect) argument
59 if (hasButtons(scrollbar)) {
60 backButtonStartPaintRect = backButtonRect(scrollbar, BackButtonStartPart, true);
63 backButtonEndPaintRect = backButtonRect(scrollbar, BackButtonEndPart, true);
66 forwardButtonStartPaintRect = forwardButtonRect(scrollbar, ForwardButtonStartPart, true);
69 forwardButtonEndPaintRect = forwardButtonRect(scrollbar, ForwardButtonEndPart, true);
77 IntRect trackPaintRect = trackRect(scrollbar, true);
80 bool thumbPresent = hasThumb(scrollbar);
82 IntRect track = trackRect(scrollbar);
83 splitTrack(scrollbar, trac
125 hitTest(ScrollbarThemeClient* scrollbar, const IntPoint& position) argument
165 invalidatePart(ScrollbarThemeClient* scrollbar, ScrollbarPart part) argument
228 shouldCenterOnThumb(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& evt) argument
233 shouldSnapBackToDragOrigin(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& evt) argument
242 usedTotalSize(ScrollbarThemeClient* scrollbar) argument
250 thumbPosition(ScrollbarThemeClient* scrollbar) argument
263 thumbLength(ScrollbarThemeClient* scrollbar) argument
282 trackPosition(ScrollbarThemeClient* scrollbar) argument
288 trackLength(ScrollbarThemeClient* scrollbar) argument
294 thumbRect(ScrollbarThemeClient* scrollbar) argument
308 thumbThickness(ScrollbarThemeClient* scrollbar) argument
314 minimumThumbLength(ScrollbarThemeClient* scrollbar) argument
319 splitTrack(ScrollbarThemeClient* scrollbar, const IntRect& unconstrainedTrackRect, IntRect& beforeThumbRect, IntRect& thumbRect, IntRect& afterThumbRect) argument
[all...]
H A DScrollbarThemeMacNonOverlayAPI.mm73 static blink::WebThemeEngine::State scrollbarStateToThemeState(ScrollbarThemeClient* scrollbar)
75 if (!scrollbar->enabled())
77 if (!scrollbar->isScrollableAreaActive())
79 if (scrollbar->pressedPart() == ThumbPart)
89 bool ScrollbarThemeMacNonOverlayAPI::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* context, const IntRect& damageRect)
95 scrollbar->getTickmarks(tickmarks);
99 trackInfo.kind = scrollbar->controlSize() == RegularScrollbar ? kThemeMediumScrollBar : kThemeSmallScrollBar;
100 trackInfo.bounds = scrollbar->frameRect();
102 trackInfo.max = scrollbar->maximum();
103 trackInfo.value = scrollbar
[all...]
H A DScrollbarThemeMock.cpp37 IntRect ScrollbarThemeMock::trackRect(ScrollbarThemeClient* scrollbar, bool) argument
39 return scrollbar->frameRect();
52 void ScrollbarThemeMock::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& trackRect) argument
54 context->fillRect(trackRect, scrollbar->enabled() ? Color::lightGray : Color(0xFFE0E0E0));
57 void ScrollbarThemeMock::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& thumbRect) argument
59 if (scrollbar->enabled())
H A DScrollbarThemeOverlay.cpp72 int ScrollbarThemeOverlay::thumbPosition(ScrollbarThemeClient* scrollbar) argument
74 if (!scrollbar->totalSize())
77 int trackLen = trackLength(scrollbar);
78 float proportion = static_cast<float>(scrollbar->currentPos()) / scrollbar->totalSize();
82 int ScrollbarThemeOverlay::thumbLength(ScrollbarThemeClient* scrollbar) argument
84 int trackLen = trackLength(scrollbar);
86 if (!scrollbar->totalSize())
89 float proportion = static_cast<float>(scrollbar->visibleSize()) / scrollbar
95 hasThumb(ScrollbarThemeClient* scrollbar) argument
110 trackRect(ScrollbarThemeClient* scrollbar, bool) argument
125 paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
158 hitTest(ScrollbarThemeClient* scrollbar, const IntPoint& position) argument
[all...]
H A DScrollbarThemeAura.cpp72 void ScrollbarThemeAura::paintTrackPiece(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart partType) argument
76 blink::WebThemeEngine::State state = scrollbar->hoveredPart() == partType ? blink::WebThemeEngine::StateHover : blink::WebThemeEngine::StateNormal;
78 if (useMockTheme() && !scrollbar->enabled())
81 IntRect alignRect = trackRect(scrollbar, false);
89 blink::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? blink::WebThemeEngine::PartScrollbarHorizontalTrack : blink::WebThemeEngine::PartScrollbarVerticalTrack, state, blink::WebRect(rect), &extraParams);
92 void ScrollbarThemeAura::paintButton(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) argument
102 if (scrollbar->orientation() == HorizontalScrollbar) {
123 if (useMockTheme() && !scrollbar->enabled()) {
125 } else if (!useMockTheme() && ((checkMin && (scrollbar->currentPos() <= 0))
126 || (checkMax && scrollbar
137 paintThumb(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
152 buttonSize(ScrollbarThemeClient* scrollbar) argument
164 minimumThumbLength(ScrollbarThemeClient* scrollbar) argument
[all...]
H A DFramelessScrollView.cpp45 void FramelessScrollView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) argument
49 dirtyRect.move(scrollbar->x(), scrollbar->y());
H A DScrollableArea.cpp276 void ScrollableArea::mouseEnteredScrollbar(Scrollbar* scrollbar) const
278 scrollAnimator()->mouseEnteredScrollbar(scrollbar);
281 void ScrollableArea::mouseExitedScrollbar(Scrollbar* scrollbar) const
283 scrollAnimator()->mouseExitedScrollbar(scrollbar);
304 void ScrollableArea::didAddScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation) argument
307 scrollAnimator()->didAddVerticalScrollbar(scrollbar);
309 scrollAnimator()->didAddHorizontalScrollbar(scrollbar);
311 // <rdar://problem/9797253> AppKit resets the scrollbar's style when you attach a scrollbar
315 void ScrollableArea::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientatio argument
353 invalidateScrollbar(Scrollbar* scrollbar, const IntRect& rect) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderScrollbarTheme.cpp41 void RenderScrollbarTheme::buttonSizesAlongTrackAxis(ScrollbarThemeClient* scrollbar, int& beforeSize, int& afterSize) argument
43 IntRect firstButton = backButtonRect(scrollbar, BackButtonStartPart);
44 IntRect secondButton = forwardButtonRect(scrollbar, ForwardButtonStartPart);
45 IntRect thirdButton = backButtonRect(scrollbar, BackButtonEndPart);
46 IntRect fourthButton = forwardButtonRect(scrollbar, ForwardButtonEndPart);
47 if (scrollbar->orientation() == HorizontalScrollbar) {
56 bool RenderScrollbarTheme::hasButtons(ScrollbarThemeClient* scrollbar) argument
60 buttonSizesAlongTrackAxis(scrollbar, startSize, endSize);
61 return (startSize + endSize) <= (scrollbar->orientation() == HorizontalScrollbar ? scrollbar
64 hasThumb(ScrollbarThemeClient* scrollbar) argument
69 minimumThumbLength(ScrollbarThemeClient* scrollbar) argument
74 backButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart partType, bool) argument
79 forwardButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart partType, bool) argument
84 trackRect(ScrollbarThemeClient* scrollbar, bool) argument
96 constrainTrackRectToTrackPieces(ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
117 paintScrollbarBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar) argument
122 paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
127 paintTrackPiece(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) argument
132 paintButton(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) argument
137 paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
142 paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument
[all...]
H A DRenderScrollbarTheme.h45 virtual bool shouldCenterOnThumb(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& event) OVERRIDE { return ScrollbarTheme::theme()->shouldCenterOnThumb(scrollbar, event); }
46 virtual bool shouldSnapBackToDragOrigin(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& event) OVERRIDE { return ScrollbarTheme::theme()->shouldSnapBackToDragOrigin(scrollbar, event); }
51 virtual void registerScrollbar(ScrollbarThemeClient* scrollbar) OVERRIDE { return ScrollbarTheme::theme()->registerScrollbar(scrollbar); }
52 virtual void unregisterScrollbar(ScrollbarThemeClient* scrollbar) OVERRIDE { return ScrollbarTheme::theme()->unregisterScrollbar(scrollbar); }
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebScrollbarThemeGeometryNative.cpp53 int WebScrollbarThemeGeometryNative::thumbPosition(WebScrollbar* scrollbar) argument
55 WebScrollbarThemeClientImpl client(scrollbar);
59 int WebScrollbarThemeGeometryNative::thumbLength(WebScrollbar* scrollbar) argument
61 WebScrollbarThemeClientImpl client(scrollbar);
65 int WebScrollbarThemeGeometryNative::trackPosition(WebScrollbar* scrollbar) argument
67 WebScrollbarThemeClientImpl client(scrollbar);
71 int WebScrollbarThemeGeometryNative::trackLength(WebScrollbar* scrollbar) argument
73 WebScrollbarThemeClientImpl client(scrollbar);
77 bool WebScrollbarThemeGeometryNative::hasButtons(WebScrollbar* scrollbar) argument
79 WebScrollbarThemeClientImpl client(scrollbar);
83 hasThumb(WebScrollbar* scrollbar) argument
89 trackRect(WebScrollbar* scrollbar) argument
95 thumbRect(WebScrollbar* scrollbar) argument
101 minimumThumbLength(WebScrollbar* scrollbar) argument
107 scrollbarThickness(WebScrollbar* scrollbar) argument
113 backButtonStartRect(WebScrollbar* scrollbar) argument
119 backButtonEndRect(WebScrollbar* scrollbar) argument
125 forwardButtonStartRect(WebScrollbar* scrollbar) argument
131 forwardButtonEndRect(WebScrollbar* scrollbar) argument
137 constrainTrackRectToTrackPieces(WebScrollbar* scrollbar, const WebRect& rect) argument
143 splitTrack(WebScrollbar* scrollbar, const WebRect& webTrack, WebRect& webStartTrack, WebRect& webThumb, WebRect& webEndTrack) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DPseudoStyleRequest.h35 PseudoStyleRequest(PseudoId pseudoId, RenderScrollbar* scrollbar = 0, ScrollbarPart scrollbarPart = NoPart)
38 , scrollbar(scrollbar)
50 RenderScrollbar* scrollbar; member in class:WebCore::PseudoStyleRequest
/external/chromium_org/ppapi/c/dev/
H A Dppp_scrollbar_dev.h33 * Informs the instance that the scrollbar's value has changed.
36 PP_Resource scrollbar,
40 * scrollbar style.
43 PP_Resource scrollbar,
51 PP_Resource scrollbar,
H A Dppb_scrollbar_dev.h49 * The interface for a scrollbar. A scrollbar is a widget, so the functions
50 * in PPB_Widget can also be used with scrollbar objects.
54 * Create a new scrollbar. Returns 0 if the instance is invalid.
59 * the resource is invalid or some type other than a scrollbar.
63 * Gets the thickness of a scrollbar.
67 * Returns PP_TRUE if the system scrollbar style is an overlap scrollbar.
69 PP_Bool (*IsOverlay)(PP_Resource scrollbar);
71 * Gets the value of the scrollbar
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DScrollbarGroup.cpp53 void ScrollbarGroup::scrollbarCreated(WebPluginScrollbarImpl* scrollbar) argument
56 if (scrollbar->scrollbar()->orientation() == HorizontalScrollbar) {
58 m_horizontalScrollbar = scrollbar;
59 didAddScrollbar(scrollbar->scrollbar(), HorizontalScrollbar);
62 m_verticalScrollbar = scrollbar;
63 didAddScrollbar(scrollbar->scrollbar(), VerticalScrollbar);
72 void ScrollbarGroup::scrollbarDestroyed(WebPluginScrollbarImpl* scrollbar) argument
111 invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) argument
149 convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntPoint& parentPoint) const argument
[all...]
/external/chromium_org/ppapi/thunk/
H A Dppb_scrollbar_thunk.cc29 uint32_t GetThickness(PP_Resource scrollbar) { argument
30 EnterScrollbar enter(scrollbar, true);
36 PP_Bool IsOverlay(PP_Resource scrollbar) { argument
37 EnterScrollbar enter(scrollbar, true);
43 uint32_t GetValue(PP_Resource scrollbar) { argument
44 EnterScrollbar enter(scrollbar, true);
50 void SetValue(PP_Resource scrollbar, uint32_t value) { argument
51 EnterScrollbar enter(scrollbar, true);
56 void SetDocumentSize(PP_Resource scrollbar, uint32_t size) { argument
57 EnterScrollbar enter(scrollbar, tru
62 SetTickMarks(PP_Resource scrollbar, const PP_Rect* tick_marks, uint32_t count) argument
70 ScrollBy(PP_Resource scrollbar, PP_ScrollBy_Dev unit, int32_t multiplier) argument
[all...]
/external/chromium_org/ppapi/api/dev/
H A Dppb_scrollbar_dev.idl22 * The interface for a scrollbar. A scrollbar is a widget, so the functions
23 * in PPB_Widget can also be used with scrollbar objects.
27 * Create a new scrollbar. Returns 0 if the instance is invalid.
34 * the resource is invalid or some type other than a scrollbar.
39 * Gets the thickness of a scrollbar.
44 * Returns PP_TRUE if the system scrollbar style is an overlap scrollbar.
46 PP_Bool IsOverlay([in] PP_Resource scrollbar);
49 * Gets the value of the scrollbar
[all...]
H A Dppp_scrollbar_dev.idl17 * Informs the instance that the scrollbar's value has changed.
20 [in] PP_Resource scrollbar,
25 * scrollbar style.
29 [in] PP_Resource scrollbar,
/external/chromium_org/ppapi/cpp/dev/
H A Dwidget_client_dev.h33 * Notification that the given scrollbar should change value. This is the
36 virtual void ScrollbarValueChanged(Scrollbar_Dev scrollbar,
40 * Notification that the given scrollbar's overlay type has changed. This is
43 virtual void ScrollbarOverlayChanged(Scrollbar_Dev scrollbar,
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DMouseEventWithHitTestResults.h38 Scrollbar* scrollbar() const { return m_hitTestResult.scrollbar(); } function in class:WebCore::MouseEventWithHitTestResults
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXScrollbar.cpp36 AXScrollbar::AXScrollbar(Scrollbar* scrollbar) argument
37 : m_scrollbar(scrollbar)
39 ASSERT(scrollbar);
48 PassRefPtr<AXScrollbar> AXScrollbar::create(Scrollbar* scrollbar) argument
50 return adoptRef(new AXScrollbar(scrollbar));
/external/chromium_org/ppapi/tests/
H A Dtest_scrollbar.h27 virtual void ScrollbarValueChanged(pp::Scrollbar_Dev scrollbar,
29 virtual void ScrollbarOverlayChanged(pp::Scrollbar_Dev scrollbar,
/external/chromium_org/ui/file_manager/file_manager/audio_player/css/
H A Daudio_player.css38 /* Customized scrollbar for the playlist. */
40 ::-webkit-scrollbar {
45 ::-webkit-scrollbar-button {
50 ::-webkit-scrollbar-thumb {
58 ::-webkit-scrollbar-thumb:hover {
63 ::-webkit-scrollbar-thumb:active {
68 ::-webkit-scrollbar-thumb:vertical {
75 ::-webkit-scrollbar-track:hover {
80 ::-webkit-scrollbar-track:active {
86 ::-webkit-scrollbar
[all...]
/external/chromium_org/cc/animation/
H A Dscrollbar_animation_controller_thinning.cc137 ScrollbarLayerImplBase* scrollbar = *it; local
138 if (scrollbar->is_overlay_scrollbar()) {
139 scrollbar->SetOpacity(
140 AdjustScale(opacity, scrollbar->opacity(), opacity_change_));
141 scrollbar->SetThumbThicknessScaleFactor(
143 scrollbar->thumb_thickness_scale_factor(),

Completed in 659 milliseconds

1234