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

1 2 3 4 5 6 7 8 91011>>

  /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::AXViewState* 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/platform/scroll/
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 78 bool ScrollbarThemeMacNonOverlayAPI::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* context, const IntRect& damageRect)
82 scrollbar->getTickmarks(tickmarks);
86 trackInfo.kind = scrollbar->controlSize() == RegularScrollbar ? kThemeMediumScrollBar : kThemeSmallScrollBar;
87 trackInfo.bounds = scrollbar->frameRect();
89 trackInfo.max = scrollbar->maximum();
90 trackInfo.value = scrollbar->currentPos();
91 trackInfo.trackInfo.scrollbar.viewsize = scrollbar->visibleSize();
92 trackInfo.attributes = hasThumb(scrollbar) ? kThemeTrackShowThumb : 0;
94 if (scrollbar->orientation() == HorizontalScrollbar
    [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...]
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...]
Scrollbar.cpp 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
    [all...]
ScrollbarThemeOverlay.cpp 70 int ScrollbarThemeOverlay::thumbPosition(ScrollbarThemeClient* scrollbar)
72 if (!scrollbar->totalSize())
75 int trackLen = trackLength(scrollbar);
76 float proportion = static_cast<float>(scrollbar->currentPos()) / scrollbar->totalSize();
80 int ScrollbarThemeOverlay::thumbLength(ScrollbarThemeClient* scrollbar)
82 int trackLen = trackLength(scrollbar);
84 if (!scrollbar->totalSize())
87 float proportion = static_cast<float>(scrollbar->visibleSize()) / scrollbar->totalSize()
    [all...]
ScrollableArea.cpp 197 Scrollbar* verticalScrollbar = this->verticalScrollbar();
200 if (Scrollbar* horizontalScrollbar = this->horizontalScrollbar()) {
301 void ScrollableArea::mouseEnteredScrollbar(Scrollbar* scrollbar) const
303 scrollAnimator()->mouseEnteredScrollbar(scrollbar);
306 void ScrollableArea::mouseExitedScrollbar(Scrollbar* scrollbar) const
308 scrollAnimator()->mouseExitedScrollbar(scrollbar);
329 void ScrollableArea::didAddScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation
    [all...]
ScrollbarThemeAura.cpp 72 void ScrollbarThemeAura::paintTrackPiece(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart partType)
74 blink::WebThemeEngine::State state = scrollbar->hoveredPart() == partType ? blink::WebThemeEngine::StateHover : blink::WebThemeEngine::StateNormal;
76 if (useMockTheme() && !scrollbar->enabled())
79 IntRect alignRect = trackRect(scrollbar, false);
87 blink::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? blink::WebThemeEngine::PartScrollbarHorizontalTrack : blink::WebThemeEngine::PartScrollbarVerticalTrack, state, blink::WebRect(rect), &extraParams);
90 void ScrollbarThemeAura::paintButton(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part)
98 if (scrollbar->orientation() == HorizontalScrollbar) {
119 if (useMockTheme() && !scrollbar->enabled()) {
121 } else if (!useMockTheme() && ((checkMin && (scrollbar->currentPos() <= 0))
122 || (checkMax && scrollbar->currentPos() >= scrollbar->maximum())))
    [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/third_party/WebKit/Source/platform/exported/
WebScrollbarThemeGeometryNative.cpp 51 int WebScrollbarThemeGeometryNative::thumbPosition(WebScrollbar* scrollbar)
53 WebScrollbarThemeClientImpl client(scrollbar);
57 int WebScrollbarThemeGeometryNative::thumbLength(WebScrollbar* scrollbar)
59 WebScrollbarThemeClientImpl client(scrollbar);
63 int WebScrollbarThemeGeometryNative::trackPosition(WebScrollbar* scrollbar)
65 WebScrollbarThemeClientImpl client(scrollbar);
69 int WebScrollbarThemeGeometryNative::trackLength(WebScrollbar* scrollbar)
71 WebScrollbarThemeClientImpl client(scrollbar);
75 bool WebScrollbarThemeGeometryNative::hasButtons(WebScrollbar* scrollbar)
77 WebScrollbarThemeClientImpl client(scrollbar);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
ScrollbarGroup.cpp 30 #include "platform/scroll/Scrollbar.h"
51 void ScrollbarGroup::scrollbarCreated(WebPluginScrollbarImpl* scrollbar)
54 if (scrollbar->scrollbar()->orientation() == HorizontalScrollbar) {
56 m_horizontalScrollbar = scrollbar;
57 didAddScrollbar(scrollbar->scrollbar(), HorizontalScrollbar);
60 m_verticalScrollbar = scrollbar;
61 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/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...]
RenderScrollbar.h 30 #include "platform/scroll/Scrollbar.h"
41 class RenderScrollbar FINAL : public Scrollbar {
46 friend class Scrollbar;
47 static PassRefPtr<Scrollbar> createCustomScrollbar(ScrollableArea*, ScrollbarOrientation, Node*, LocalFrame* owningFrame = 0);
78 // This Scrollbar(Widget) may outlive the DOM which created it (during tear down),
79 // so we keep a reference to the Node which caused this custom scrollbar creation.
88 DEFINE_TYPE_CASTS(RenderScrollbar, ScrollbarThemeClient, scrollbar, scrollbar->isCustomScrollbar(), scrollbar.isCustomScrollbar());
  /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/ui/file_manager/file_manager/foreground/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...]
  /external/chromium_org/content/test/data/accessibility/
aria-orientation.html 6 <div id="horizontal" role="scrollbar" aria-orientation="horizontal"
8 <div id="vertical" role="scrollbar" aria-orientation="vertical"
  /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/ppapi/tests/
test_scrollbar.cc 15 REGISTER_TEST_CASE(Scrollbar);
51 "" : "Didn't get callback for scrollbar value change";
58 void TestScrollbar::ScrollbarValueChanged(pp::Scrollbar_Dev scrollbar,
60 if (scrollbar == scrollbar_)
64 void TestScrollbar::ScrollbarOverlayChanged(pp::Scrollbar_Dev scrollbar,
  /external/chromium_org/chrome/browser/resources/net_internals/
horizontal_scrollbar_view.js 7 * scrollbar and the inner one has a height of 1 pixel and a width set to
12 * TODO(mmenke): Consider implementing our own scrollbar directly.
29 // The current range and position of the scrollbar. Because DOM updates
36 // the current scroll position after resizing the scrollbar.
54 * Sets the range of the scrollbar. The scrollbar can have a value
56 * on the scrollbar will generally be based on the width of the scrollbar
57 * relative to the size of |range|, so if the scrollbar is about the size
72 * Sets the position of the scrollbar. |position| must be between 0 an
    [all...]

Completed in 814 milliseconds

1 2 3 4 5 6 7 8 91011>>