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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/platform/
ScrollbarTheme.cpp 45 bool ScrollbarTheme::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect)
54 if (hasButtons(scrollbar)) {
55 backButtonStartPaintRect = backButtonRect(scrollbar, BackButtonStartPart, true);
58 backButtonEndPaintRect = backButtonRect(scrollbar, BackButtonEndPart, true);
61 forwardButtonStartPaintRect = forwardButtonRect(scrollbar, ForwardButtonStartPart, true);
64 forwardButtonEndPaintRect = forwardButtonRect(scrollbar, ForwardButtonEndPart, true);
72 IntRect trackPaintRect = trackRect(scrollbar, true);
75 bool thumbPresent = hasThumb(scrollbar);
77 IntRect track = trackRect(scrollbar);
78 splitTrack(scrollbar, track, startTrackRect, thumbRect, endTrackRect)
    [all...]
Scrollbar.cpp 27 #include "core/platform/Scrollbar.h"
46 // The position of the scrollbar thumb affects the appearance of the steppers, so
53 PassRefPtr<Scrollbar> Scrollbar::createNativeScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size)
55 return adoptRef(new Scrollbar(scrollableArea, orientation, size));
58 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize,
75 , m_scrollTimer(this, &Scrollbar::autoscrollTimerFired)
86 // scrollbar thickness and use it when sizing scrollbars (rather than leaving one dimension of the scrollbar
    [all...]
ScrollableArea.cpp 165 Scrollbar* verticalScrollbar = this->verticalScrollbar();
168 if (Scrollbar* horizontalScrollbar = this->horizontalScrollbar()) {
253 void ScrollableArea::mouseEnteredScrollbar(Scrollbar* scrollbar) const
255 scrollAnimator()->mouseEnteredScrollbar(scrollbar);
258 void ScrollableArea::mouseExitedScrollbar(Scrollbar* scrollbar) const
260 scrollAnimator()->mouseExitedScrollbar(scrollbar);
281 void ScrollableArea::didAddVerticalScrollbar(Scrollbar* scrollbar)
    [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/ui/views/controls/scrollbar/
scroll_bar.cc 5 #include "ui/views/controls/scrollbar/scroll_bar.h"
11 ScrollBar::~ScrollBar() {
14 void ScrollBar::GetAccessibleState(ui::AccessibleViewState* state) {
18 bool ScrollBar::IsHorizontal() const {
22 void ScrollBar::Update(int viewport_size, int content_size, int current_pos) {
26 int ScrollBar::GetMaxPosition() const {
30 int ScrollBar::GetMinPosition() const {
34 int ScrollBar::GetContentOverlapSize() const {
38 void ScrollBar::OnMouseEnteredScrollView(const ui::MouseEvent& event)
    [all...]
scroll_bar.h 15 class ScrollBar;
22 // receive notification from a scrollbar
27 // Invoked by the scrollbar when the scrolling position changes
32 virtual void ScrollToPosition(ScrollBar* source, int position) = 0;
43 virtual int GetScrollIncrement(ScrollBar* source,
50 // ScrollBar
52 // A View subclass to wrap to implement a ScrollBar. Our current windows
53 // version simply wraps a native windows scrollbar.
55 // A scrollbar is either horizontal or vertical
58 class VIEWS_EXPORT ScrollBar : public View
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/
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/third_party/WebKit/Source/web/
ScrollbarGroup.cpp 31 #include "core/platform/Scrollbar.h"
53 void ScrollbarGroup::scrollbarCreated(WebPluginScrollbarImpl* scrollbar)
56 if (scrollbar->scrollbar()->orientation() == HorizontalScrollbar) {
58 m_horizontalScrollbar = scrollbar;
59 didAddHorizontalScrollbar(scrollbar->scrollbar());
62 m_verticalScrollbar = scrollbar;
63 didAddVerticalScrollbar(scrollbar->scrollbar());
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/mac/
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...]
ScrollbarThemeMacNonOverlayAPI.mm 71 static WebKit::WebThemeEngine::State scrollbarStateToThemeState(ScrollbarThemeClient* scrollbar)
73 if (!scrollbar->enabled())
75 if (!scrollbar->isScrollableAreaActive())
77 if (scrollbar->pressedPart() == ThumbPart)
87 bool ScrollbarThemeMacNonOverlayAPI::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* context, const IntRect& damageRect)
91 scrollbar->getTickmarks(tickmarks);
95 trackInfo.kind = scrollbar->controlSize() == RegularScrollbar ? kThemeMediumScrollBar : kThemeSmallScrollBar;
96 trackInfo.bounds = scrollbar->frameRect();
98 trackInfo.max = scrollbar->maximum();
99 trackInfo.value = scrollbar->currentPos()
    [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/third_party/WebKit/Source/core/platform/chromium/
ScrollbarThemeChromiumWin.cpp 35 #include "core/platform/Scrollbar.h"
50 // The scrollbar size in DumpRenderTree on the Mac - so we can match their
56 // scrollbar thumb back to its origin. These calculations are based on
57 // observing the behavior of the MSVC8 main window scrollbar + some
78 bool ScrollbarThemeChromiumWin::shouldSnapBackToDragOrigin(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& evt)
82 IntRect rect = trackRect(scrollbar);
83 const bool horz = scrollbar->orientation() == HorizontalScrollbar;
84 const int thickness = scrollbarThickness(scrollbar->controlSize());
89 IntPoint mousePosition = scrollbar->convertFromContainingWindow(evt.position());
90 mousePosition.move(scrollbar->x(), scrollbar->y())
    [all...]
ScrollbarThemeChromium.cpp 32 #include "core/platform/Scrollbar.h"
37 // This file contains scrollbar theme code that is cross platform. Additional
43 bool ScrollbarThemeChromium::hasThumb(ScrollbarThemeClient* scrollbar)
47 return thumbLength(scrollbar) > 0;
50 IntRect ScrollbarThemeChromium::backButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool)
56 IntSize size = buttonSize(scrollbar);
57 return IntRect(scrollbar->x(), scrollbar->y(), size.width(), size.height());
60 IntRect ScrollbarThemeChromium::forwardButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool)
66 IntSize size = buttonSize(scrollbar);
    [all...]
ScrollbarThemeChromiumOverlay.cpp 30 #include "core/platform/Scrollbar.h"
53 int ScrollbarThemeChromiumOverlay::thumbPosition(ScrollbarThemeClient* scrollbar)
55 if (!scrollbar->totalSize())
58 int trackLen = trackLength(scrollbar);
59 float proportion = static_cast<float>(scrollbar->currentPos()) / scrollbar->totalSize();
63 int ScrollbarThemeChromiumOverlay::thumbLength(ScrollbarThemeClient* scrollbar)
65 int trackLen = trackLength(scrollbar);
67 if (!scrollbar->totalSize())
70 float proportion = (float)scrollbar->visibleSize() / scrollbar->totalSize()
    [all...]
ScrollbarThemeChromiumDefault.cpp 36 #include "core/platform/Scrollbar.h"
63 void ScrollbarThemeChromiumDefault::paintTrackPiece(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart partType)
65 WebKit::WebThemeEngine::State state = scrollbar->hoveredPart() == partType ? WebKit::WebThemeEngine::StateHover : WebKit::WebThemeEngine::StateNormal;
66 IntRect alignRect = trackRect(scrollbar, false);
73 WebKit::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? WebKit::WebThemeEngine::PartScrollbarHorizontalTrack : WebKit::WebThemeEngine::PartScrollbarVerticalTrack, state, WebKit::WebRect(rect), &extraParams);
76 void ScrollbarThemeChromiumDefault::paintButton(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part)
83 if (scrollbar->orientation() == HorizontalScrollbar) {
100 if ((checkMin && (scrollbar->currentPos() <= 0))
101 || (checkMax && scrollbar->currentPos() == scrollbar->maximum()))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderScrollbarTheme.cpp 40 void RenderScrollbarTheme::buttonSizesAlongTrackAxis(ScrollbarThemeClient* scrollbar, int& beforeSize, int& afterSize)
42 IntRect firstButton = backButtonRect(scrollbar, BackButtonStartPart);
43 IntRect secondButton = forwardButtonRect(scrollbar, ForwardButtonStartPart);
44 IntRect thirdButton = backButtonRect(scrollbar, BackButtonEndPart);
45 IntRect fourthButton = forwardButtonRect(scrollbar, ForwardButtonEndPart);
46 if (scrollbar->orientation() == HorizontalScrollbar) {
55 bool RenderScrollbarTheme::hasButtons(ScrollbarThemeClient* scrollbar)
59 buttonSizesAlongTrackAxis(scrollbar, startSize, endSize);
60 return (startSize + endSize) <= (scrollbar->orientation() == HorizontalScrollbar ? scrollbar->width() : scrollbar->height())
    [all...]
RenderScrollbar.h 29 #include "core/platform/Scrollbar.h"
41 class RenderScrollbar : public Scrollbar {
46 friend class Scrollbar;
47 static PassRefPtr<Scrollbar> createCustomScrollbar(ScrollableArea*, ScrollbarOrientation, Node*, Frame* owningFrame = 0);
80 // This Scrollbar(Widget) may outlive the DOM which created it (during tear down),
81 // so we keep a reference to the Node which caused this custom scrollbar creation.
90 inline RenderScrollbar* toRenderScrollbar(ScrollbarThemeClient* scrollbar)
92 ASSERT_WITH_SECURITY_IMPLICATION(!scrollbar || scrollbar->isCustomScrollbar());
93 return static_cast<RenderScrollbar*>(scrollbar);
    [all...]
  /external/chromium_org/ppapi/c/dev/
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...]
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,
  /external/chromium_org/chrome/browser/resources/file_manager/js/
scrollbar.js 12 var ScrollBar = cr.ui.define('div');
15 * Mode of the scrollbar. As for now, only vertical scrollbars are supported.
18 ScrollBar.Mode = {
23 ScrollBar.prototype = {
26 if (this.mode_ == ScrollBar.Mode.VERTICAL) {
27 this.classList.remove('scrollbar-horizontal');
28 this.classList.add('scrollbar-vertical');
30 this.classList.remove('scrollbar-vertical');
31 this.classList.add('scrollbar-horizontal');
43 ScrollBar.prototype.__proto__ = HTMLDivElement.prototype
    [all...]
  /external/chromium_org/third_party/WebKit/ManualTests/
scrollbar-hover-active.html 3 div::-webkit-scrollbar {
8 div::-webkit-scrollbar-button {
14 div::-webkit-scrollbar-button:-webkit-decrement:-webkit-start {
19 div::-webkit-scrollbar-button:-webkit-increment:-webkit-start {
24 div::-webkit-scrollbar-button:-webkit-decrement:-webkit-end {
29 div::-webkit-scrollbar-button:-webkit-increment:-webkit-end {
34 div::-webkit-scrollbar-button:hover {
38 div::-webkit-scrollbar-thumb {
45 div::-webkit-scrollbar-track {
49 div::-webkit-scrollbar-thumb:hover
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
PointTestCases.java 23 import org.eclipse.swt.widgets.ScrollBar;
70 ScrollBar scrollBar = new List(this, SWT.V_SCROLL|SWT.H_SCROLL).getHorizontalBar();
71 return new TestCanvasTransform(scrollBar, mScaleX, mTranslateX);
76 ScrollBar scrollBar = new List(this, SWT.V_SCROLL|SWT.H_SCROLL).getVerticalBar();
77 return new TestCanvasTransform(scrollBar, mScaleY, mTranslateY);
86 public TestCanvasTransform(ScrollBar scrollBar, float scale, float translate) {
87 super(null, scrollBar);
    [all...]
  /external/chromium_org/cc/layers/
scrollbar_layer.h 9 #include "cc/input/scrollbar.h"
25 scoped_ptr<Scrollbar> scrollbar,
53 ScrollbarLayer(scoped_ptr<Scrollbar> scrollbar,
71 scoped_ptr<Scrollbar> scrollbar_;
86 // All the parts of the scrollbar except the thumb
  /external/chromium_org/third_party/WebKit/Source/core/platform/mock/
ScrollbarThemeMock.cpp 29 #include "core/platform/Scrollbar.h"
35 IntRect ScrollbarThemeMock::trackRect(ScrollbarThemeClient* scrollbar, bool)
37 return scrollbar->frameRect();
50 void ScrollbarThemeMock::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& trackRect)
52 context->fillRect(trackRect, scrollbar->enabled() ? Color::lightGray : Color(0xFFE0E0E0));
55 void ScrollbarThemeMock::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& thumbRect)
57 if (scrollbar->enabled())

Completed in 648 milliseconds

1 2 3 4 5 6 7 8 91011>>