HomeSort by relevance Sort by last modified time
    Searched refs:scrollbar (Results 1 - 25 of 129) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/platform/scroll/
ScrollbarThemeNonMacCommon.cpp 37 bool ScrollbarThemeNonMacCommon::hasThumb(ScrollbarThemeClient* scrollbar)
41 return thumbLength(scrollbar) > 0;
44 IntRect ScrollbarThemeNonMacCommon::backButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool)
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)
60 IntSize size = buttonSize(scrollbar);
62 if (scrollbar->orientation() == HorizontalScrollbar) {
63 x = scrollbar->x() + scrollbar->width() - size.width()
    [all...]
ScrollbarThemeMacOverlayAPI.mm 57 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...]
ScrollbarTheme.cpp 50 bool ScrollbarTheme::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect)
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, track, startTrackRect, thumbRect, endTrackRect)
    [all...]
ScrollbarThemeMacNonOverlayAPI.mm 73 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->currentPos()
    [all...]
ScrollbarThemeMock.cpp 37 IntRect ScrollbarThemeMock::trackRect(ScrollbarThemeClient* scrollbar, bool)
39 return scrollbar->frameRect();
52 void ScrollbarThemeMock::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& trackRect)
54 context->fillRect(trackRect, scrollbar->enabled() ? Color::lightGray : Color(0xFFE0E0E0));
57 void ScrollbarThemeMock::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& thumbRect)
59 if (scrollbar->enabled())
ScrollbarThemeOverlay.cpp 72 int ScrollbarThemeOverlay::thumbPosition(ScrollbarThemeClient* scrollbar)
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)
84 int trackLen = trackLength(scrollbar);
86 if (!scrollbar->totalSize())
89 float proportion = static_cast<float>(scrollbar->visibleSize()) / scrollbar->totalSize()
    [all...]
ScrollbarThemeAura.cpp 72 void ScrollbarThemeAura::paintTrackPiece(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart partType)
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)
102 if (scrollbar->orientation() == HorizontalScrollbar) {
123 if (useMockTheme() && !scrollbar->enabled()) {
125 } else if (!useMockTheme() && ((checkMin && (scrollbar->currentPos() <= 0))
126 || (checkMax && scrollbar->currentPos() >= scrollbar->maximum())))
    [all...]
FramelessScrollView.cpp 45 void FramelessScrollView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
49 dirtyRect.move(scrollbar->x(), scrollbar->y());
ScrollbarTheme.h 61 void invalidateParts(ScrollbarThemeClient* scrollbar, ScrollbarControlPartMask mask)
64 invalidatePart(scrollbar, BackButtonStartPart);
66 invalidatePart(scrollbar, ForwardButtonStartPart);
68 invalidatePart(scrollbar, BackTrackPart);
70 invalidatePart(scrollbar, ThumbPart);
72 invalidatePart(scrollbar, ForwardTrackPart);
74 invalidatePart(scrollbar, BackButtonEndPart);
76 invalidatePart(scrollbar, ForwardButtonEndPart);
93 // The length of the thumb along the axis of the scrollbar.
95 // The position of the track relative to the scrollbar
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderScrollbarTheme.cpp 41 void RenderScrollbarTheme::buttonSizesAlongTrackAxis(ScrollbarThemeClient* scrollbar, int& beforeSize, int& afterSize)
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)
60 buttonSizesAlongTrackAxis(scrollbar, startSize, endSize);
61 return (startSize + endSize) <= (scrollbar->orientation() == HorizontalScrollbar ? scrollbar->width() : scrollbar->height())
    [all...]
RenderScrollbarTheme.h 45 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/core/css/
PseudoStyleRequest.h 35 PseudoStyleRequest(PseudoId pseudoId, RenderScrollbar* scrollbar = 0, ScrollbarPart scrollbarPart = NoPart)
38 , scrollbar(scrollbar)
50 RenderScrollbar* scrollbar; member in class:WebCore::PseudoStyleRequest
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebScrollbarThemeGeometryNative.cpp 53 int WebScrollbarThemeGeometryNative::thumbPosition(WebScrollbar* scrollbar)
55 WebScrollbarThemeClientImpl client(scrollbar);
59 int WebScrollbarThemeGeometryNative::thumbLength(WebScrollbar* scrollbar)
61 WebScrollbarThemeClientImpl client(scrollbar);
65 int WebScrollbarThemeGeometryNative::trackPosition(WebScrollbar* scrollbar)
67 WebScrollbarThemeClientImpl client(scrollbar);
71 int WebScrollbarThemeGeometryNative::trackLength(WebScrollbar* scrollbar)
73 WebScrollbarThemeClientImpl client(scrollbar);
77 bool WebScrollbarThemeGeometryNative::hasButtons(WebScrollbar* scrollbar)
79 WebScrollbarThemeClientImpl client(scrollbar);
    [all...]
  /external/chromium_org/ppapi/c/dev/
ppp_scrollbar_dev.h 33 * 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,
ppb_scrollbar_dev.h 49 * 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.
58 * Returns PP_TRUE if the given resource is a Scrollbar. Returns PP_FALSE if
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);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
ScrollbarGroup.cpp 30 #include "platform/scroll/Scrollbar.h"
53 void ScrollbarGroup::scrollbarCreated(WebPluginScrollbarImpl* scrollbar)
56 if (scrollbar->scrollbar()->orientation() == HorizontalScrollbar) {
58 m_horizontalScrollbar = scrollbar;
59 didAddScrollbar(scrollbar->scrollbar(), HorizontalScrollbar);
62 m_verticalScrollbar = scrollbar;
63 didAddScrollbar(scrollbar->scrollbar(), VerticalScrollbar)
    [all...]
  /external/chromium_org/ppapi/thunk/
ppb_scrollbar_thunk.cc 29 uint32_t GetThickness(PP_Resource scrollbar) {
30 EnterScrollbar enter(scrollbar, true);
36 PP_Bool IsOverlay(PP_Resource scrollbar) {
37 EnterScrollbar enter(scrollbar, true);
43 uint32_t GetValue(PP_Resource scrollbar) {
44 EnterScrollbar enter(scrollbar, true);
50 void SetValue(PP_Resource scrollbar, uint32_t value) {
51 EnterScrollbar enter(scrollbar, true);
56 void SetDocumentSize(PP_Resource scrollbar, uint32_t size) {
57 EnterScrollbar enter(scrollbar, true)
    [all...]
  /external/chromium_org/ppapi/api/dev/
ppb_scrollbar_dev.idl 22 * 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.
33 * Returns PP_TRUE if the given resource is a Scrollbar. Returns PP_FALSE if
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);
    [all...]
ppp_scrollbar_dev.idl 17 * 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/
widget_client_dev.h 33 * 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/ppapi/tests/
test_scrollbar.h 27 virtual void ScrollbarValueChanged(pp::Scrollbar_Dev scrollbar,
29 virtual void ScrollbarOverlayChanged(pp::Scrollbar_Dev scrollbar,
  /external/chromium_org/third_party/WebKit/Source/core/page/
MouseEventWithHitTestResults.h 29 class Scrollbar;
38 Scrollbar* scrollbar() const { return m_hitTestResult.scrollbar(); } function in class:WebCore::MouseEventWithHitTestResults
  /external/chromium_org/third_party/WebKit/Source/core/accessibility/
AXScrollbar.cpp 36 AXScrollbar::AXScrollbar(Scrollbar* scrollbar)
37 : m_scrollbar(scrollbar)
39 ASSERT(scrollbar);
48 PassRefPtr<AXScrollbar> AXScrollbar::create(Scrollbar* scrollbar)
50 return adoptRef(new AXScrollbar(scrollbar));
  /external/chromium_org/ui/file_manager/file_manager/audio_player/css/
audio_player.css 38 /* 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-track:vertical
    [all...]
  /external/chromium_org/content/renderer/pepper/
ppb_scrollbar_impl.h 54 virtual void valueChanged(blink::WebPluginScrollbar* scrollbar) OVERRIDE;
55 virtual void overlayChanged(blink::WebPluginScrollbar* scrollbar) OVERRIDE;
56 virtual void invalidateScrollbarRect(blink::WebPluginScrollbar* scrollbar,
58 virtual void getTickmarks(blink::WebPluginScrollbar* scrollbar,

Completed in 454 milliseconds

1 2 3 4 5 6