/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/ |
H A D | ScrollingCoordinator.cpp | 233 void ScrollingCoordinator::willDestroyScrollableArea(ScrollableArea* scrollableArea) argument 235 removeWebScrollbarLayer(scrollableArea, HorizontalScrollbar); 236 removeWebScrollbarLayer(scrollableArea, VerticalScrollbar); 239 void ScrollingCoordinator::removeWebScrollbarLayer(ScrollableArea* scrollableArea, ScrollbarOrientation orientation) argument 242 if (OwnPtr<WebScrollbarLayer> scrollbarLayer = scrollbars.take(scrollableArea)) 288 WebScrollbarLayer* ScrollingCoordinator::addWebScrollbarLayer(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, PassOwnPtr<blink::WebScrollbarLayer> scrollbarLayer) argument 291 return scrollbars.add(scrollableArea, scrollbarLayer).storedValue->value.get(); 294 WebScrollbarLayer* ScrollingCoordinator::getWebScrollbarLayer(ScrollableArea* scrollableArea, ScrollbarOrientation orientation) argument 297 return scrollbars.get(scrollableArea); 300 void ScrollingCoordinator::scrollableAreaScrollbarLayerDidChange(ScrollableArea* scrollableArea, ScrollbarOrientatio argument 359 scrollableAreaScrollLayerDidChange(ScrollableArea* scrollableArea) argument 752 ScrollableArea* scrollableArea = *it; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
H A D | AXScrollbar.cpp | 102 if (!m_scrollbar->scrollableArea()) 106 m_scrollbar->scrollableArea()->scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), newValue);
|
H A D | AXObject.cpp | 723 ScrollableArea* scrollableArea; local 724 for (scrollableArea = 0; 725 scrollParent && !(scrollableArea = scrollParent->getScrollableAreaIfScrollable()); 727 if (!scrollableArea) 731 IntPoint scrollPosition = scrollableArea->scrollPosition(); 732 IntRect scrollVisibleRect = scrollableArea->visibleContentRect(); 773 ScrollableArea* scrollableArea = outer->getScrollableAreaIfScrollable(); local 777 IntPoint scrollPosition = scrollableArea->scrollPosition(); 800 scrollPosition = scrollableArea->scrollPosition();
|
H A D | AXRenderObject.cpp | 251 return box->scrollableArea(); 1201 ScrollableArea* scrollableArea = box->scrollableArea(); local 1202 if (scrollableArea && scrollableArea->scrollPosition() != m_cachedScrollPosition) 1225 ScrollableArea* scrollableArea = box->scrollableArea(); local 1226 if (scrollableArea) 1227 m_cachedScrollPosition = scrollableArea->scrollPosition();
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderMarquee.cpp | 168 layer()->scrollableArea()->scrollToOffset(IntSize(m_start, 0)); 170 layer()->scrollableArea()->scrollToOffset(IntSize(0, m_start)); 282 layer()->scrollableArea()->scrollToXOffset(m_start); 284 layer()->scrollableArea()->scrollToYOffset(m_start); 307 int currentPos = (isHorizontal() ? layer()->scrollableArea()->scrollXOffset() : layer()->scrollableArea()->scrollYOffset()); 324 layer()->scrollableArea()->scrollToXOffset(newPos); 326 layer()->scrollableArea()->scrollToYOffset(newPos);
|
H A D | RenderLayerModelObject.h | 54 ScrollableArea* scrollableArea() const;
|
H A D | RenderLayerModelObject.cpp | 69 ScrollableArea* RenderLayerModelObject::scrollableArea() const function in class:WebCore::RenderLayerModelObject 71 return m_layer ? m_layer->scrollableArea() : 0;
|
H A D | RenderScrollbar.cpp | 39 PassRefPtr<Scrollbar> RenderScrollbar::createCustomScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, Node* ownerNode, LocalFrame* owningFrame) argument 41 return adoptRef(new RenderScrollbar(scrollableArea, orientation, ownerNode, owningFrame)); 44 RenderScrollbar::RenderScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, Node* ownerNode, LocalFrame* owningFrame) argument 45 : Scrollbar(scrollableArea, orientation, RegularScrollbar, RenderScrollbarTheme::renderScrollbarTheme())
|
H A D | RenderBox.cpp | 205 if (int left = layer()->scrollableArea()->scrollXOffset()) { 207 layer()->scrollableArea()->scrollToXOffset(left); 209 if (int top = layer()->scrollableArea()->scrollYOffset()) { 211 layer()->scrollableArea()->scrollToYOffset(top); 369 return layer()->scrollableArea()->scrollWidth(); 380 return layer()->scrollableArea()->scrollHeight(); 388 return hasOverflowClip() ? layer()->scrollableArea()->scrollXOffset() : 0; 393 return hasOverflowClip() ? layer()->scrollableArea()->scrollYOffset() : 0; 404 return layer()->scrollableArea()->scrollHeight(); 417 layer()->scrollableArea() [all...] |
H A D | RenderTreeAsText.cpp | 537 if (l.scrollableArea()->scrollXOffset()) 538 ts << " scrollX " << l.scrollableArea()->scrollXOffset(); 539 if (l.scrollableArea()->scrollYOffset()) 540 ts << " scrollY " << l.scrollableArea()->scrollYOffset();
|
H A D | RenderWidget.cpp | 240 layer()->scrollableArea()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect);
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
H A D | ScrollAnimatorNone.cpp | 50 PassOwnPtr<ScrollAnimator> ScrollAnimator::create(ScrollableArea* scrollableArea) argument 52 if (scrollableArea && scrollableArea->scrollAnimatorEnabled()) 53 return adoptPtr(new ScrollAnimatorNone(scrollableArea)); 54 return adoptPtr(new ScrollAnimator(scrollableArea)); 368 ScrollAnimatorNone::ScrollAnimatorNone(ScrollableArea* scrollableArea) argument 369 : ScrollAnimator(scrollableArea) 370 , m_horizontalData(this, &m_currentPosX, scrollableArea->visibleWidth()) 371 , m_verticalData(this, &m_currentPosY, scrollableArea->visibleHeight()) 482 m_horizontalData.updateVisibleLength(scrollableArea() [all...] |
H A D | ScrollAnimator.cpp | 43 ScrollAnimator::ScrollAnimator(ScrollableArea* scrollableArea) argument 44 : m_scrollableArea(scrollableArea)
|
H A D | ScrollAnimator.h | 63 ScrollableArea* scrollableArea() const { return m_scrollableArea; } function in class:WebCore::ScrollAnimator
|
H A D | Scrollbar.cpp | 48 PassRefPtr<Scrollbar> Scrollbar::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size) argument 50 return adoptRef(new Scrollbar(scrollableArea, orientation, size)); 53 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, ScrollbarTheme* theme) argument 54 : m_scrollableArea(scrollableArea)
|
H A D | Scrollbar.h | 105 ScrollableArea* scrollableArea() const { return m_scrollableArea; } function in class:WebCore::Scrollbar
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
H A D | ScrollAnimatorMac.mm | 189 - (id)initWithScrollableArea:(ScrollableArea*)scrollableArea; 194 - (id)initWithScrollableArea:(ScrollableArea*)scrollableArea 200 _scrollableArea = scrollableArea; 421 return static_cast<ScrollAnimatorMac*>(_scrollbar->scrollableArea()->scrollAnimator()); 441 return _scrollbar->convertFromContainingView(_scrollbar->scrollableArea()->lastKnownMousePosition()); 453 if (_scrollbar->scrollableArea()->shouldSuspendScrollAnimations() && !mustAnimate) { 584 PassOwnPtr<ScrollAnimator> ScrollAnimator::create(ScrollableArea* scrollableArea) 586 return adoptPtr(new ScrollAnimatorMac(scrollableArea)); 589 ScrollAnimatorMac::ScrollAnimatorMac(ScrollableArea* scrollableArea) 590 : ScrollAnimator(scrollableArea) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | ScrollingCoordinatorChromiumTest.cpp | 297 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); 337 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); 352 ASSERT_TRUE(box->scrollableArea()->usesCompositedScrolling()); 360 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); 398 ASSERT_EQ(innerFrameView, scrollLayer->scrollableArea()); 442 ASSERT_EQ(innerFrameView, scrollLayer->scrollableArea());
|
H A D | ScrollAnimatorNoneTest.cpp | 83 MockScrollAnimatorNone(ScrollableArea* scrollableArea) argument 84 : ScrollAnimatorNone(scrollableArea) { } 114 MockScrollableArea scrollableArea(true); 115 MockScrollAnimatorNone scrollAnimatorNone(&scrollableArea); 117 EXPECT_CALL(scrollableArea, scrollSize(_)).Times(AtLeast(1)).WillRepeatedly(Return(1000)); 118 EXPECT_CALL(scrollableArea, minimumScrollPosition()).Times(AtLeast(1)).WillRepeatedly(Return(IntPoint())); 119 EXPECT_CALL(scrollableArea, maximumScrollPosition()).Times(AtLeast(1)).WillRepeatedly(Return(IntPoint(1000, 1000))); 120 EXPECT_CALL(scrollableArea, setScrollOffset(_)).Times(4); 149 MockScrollableArea scrollableArea(false); 150 MockScrollAnimatorNone scrollAnimatorNone(&scrollableArea); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsLayerTest.cpp | 158 FakeScrollableArea scrollableArea; local 159 m_graphicsLayer->setScrollableArea(&scrollableArea, false); 165 EXPECT_EQ(scrollPosition, WebPoint(scrollableArea.scrollPosition()));
|
H A D | GraphicsLayer.h | 246 ScrollableArea* scrollableArea() const { return m_scrollableArea; } function in class:WebCore::GraphicsLayer
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
H A D | CompositedLayerMapping.h | 258 bool requiresHorizontalScrollbarLayer() const { return m_owningLayer.scrollableArea() && m_owningLayer.scrollableArea()->horizontalScrollbar(); } 259 bool requiresVerticalScrollbarLayer() const { return m_owningLayer.scrollableArea() && m_owningLayer.scrollableArea()->verticalScrollbar(); } 260 bool requiresScrollCornerLayer() const { return m_owningLayer.scrollableArea() && !m_owningLayer.scrollableArea()->scrollCornerAndResizerRect().isEmpty(); }
|
H A D | GraphicsLayerUpdater.cpp | 96 layer.scrollableArea()->positionOverflowControls(IntSize());
|
H A D | CompositedLayerMapping.cpp | 660 if (m_owningLayer.scrollableArea() && m_owningLayer.scrollableArea()->scrollsOverflow()) 661 m_owningLayer.scrollableArea()->positionOverflowControls(IntSize()); 834 IntSize adjustedScrollOffset = m_owningLayer.scrollableArea()->adjustedScrollOffset(); 1045 const IntPoint position = blockSelectionGapsBounds.location() + m_owningLayer.scrollableArea()->adjustedScrollOffset(); 1191 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(m_owningLayer.scrollableArea(), HorizontalScrollbar); 1193 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(m_owningLayer.scrollableArea(), VerticalScrollbar); 1203 Scrollbar* hBar = m_owningLayer.scrollableArea()->horizontalScrollbar(); 1214 Scrollbar* vBar = m_owningLayer.scrollableArea()->verticalScrollbar(); 1225 const LayoutRect& scrollCornerAndResizer = m_owningLayer.scrollableArea() [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | LinkHighlight.cpp | 131 if (renderLayer->scrollableArea() && renderLayer->scrollableArea()->usesCompositedScrolling()) {
|