Home
last modified time | relevance | path

Searched refs:scrollableArea (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
DScrollingCoordinator.cpp233 void ScrollingCoordinator::willDestroyScrollableArea(ScrollableArea* scrollableArea) in willDestroyScrollableArea() argument
235 removeWebScrollbarLayer(scrollableArea, HorizontalScrollbar); in willDestroyScrollableArea()
236 removeWebScrollbarLayer(scrollableArea, VerticalScrollbar); in willDestroyScrollableArea()
239 void ScrollingCoordinator::removeWebScrollbarLayer(ScrollableArea* scrollableArea, ScrollbarOrienta… in removeWebScrollbarLayer() argument
242 if (OwnPtr<WebScrollbarLayer> scrollbarLayer = scrollbars.take(scrollableArea)) in removeWebScrollbarLayer()
288 WebScrollbarLayer* ScrollingCoordinator::addWebScrollbarLayer(ScrollableArea* scrollableArea, Scrol… in addWebScrollbarLayer() argument
291 return scrollbars.add(scrollableArea, scrollbarLayer).storedValue->value.get(); in addWebScrollbarLayer()
294 WebScrollbarLayer* ScrollingCoordinator::getWebScrollbarLayer(ScrollableArea* scrollableArea, Scrol… in getWebScrollbarLayer() argument
297 return scrollbars.get(scrollableArea); in getWebScrollbarLayer()
300 void ScrollingCoordinator::scrollableAreaScrollbarLayerDidChange(ScrollableArea* scrollableArea, Sc… in scrollableAreaScrollbarLayerDidChange() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMarquee.cpp168 layer()->scrollableArea()->scrollToOffset(IntSize(m_start, 0)); in start()
170 layer()->scrollableArea()->scrollToOffset(IntSize(0, m_start)); in start()
282 layer()->scrollableArea()->scrollToXOffset(m_start); in timerFired()
284 layer()->scrollableArea()->scrollToYOffset(m_start); in timerFired()
307 …int currentPos = (isHorizontal() ? layer()->scrollableArea()->scrollXOffset() : layer()->scrollabl… in timerFired()
324 layer()->scrollableArea()->scrollToXOffset(newPos); in timerFired()
326 layer()->scrollableArea()->scrollToYOffset(newPos); in timerFired()
DRenderScrollbar.cpp39 PassRefPtr<Scrollbar> RenderScrollbar::createCustomScrollbar(ScrollableArea* scrollableArea, Scroll… in createCustomScrollbar() argument
41 return adoptRef(new RenderScrollbar(scrollableArea, orientation, ownerNode, owningFrame)); in createCustomScrollbar()
44 RenderScrollbar::RenderScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, … in RenderScrollbar() argument
45 …: Scrollbar(scrollableArea, orientation, RegularScrollbar, RenderScrollbarTheme::renderScrollbarTh… in RenderScrollbar()
DRenderLayerModelObject.cpp69 ScrollableArea* RenderLayerModelObject::scrollableArea() const in scrollableArea() function in WebCore::RenderLayerModelObject
71 return m_layer ? m_layer->scrollableArea() : 0; in scrollableArea()
DRenderBox.cpp205 if (int left = layer()->scrollableArea()->scrollXOffset()) { in styleDidChange()
207 layer()->scrollableArea()->scrollToXOffset(left); in styleDidChange()
209 if (int top = layer()->scrollableArea()->scrollYOffset()) { in styleDidChange()
211 layer()->scrollableArea()->scrollToYOffset(top); in styleDidChange()
369 return layer()->scrollableArea()->scrollWidth(); in scrollWidth()
380 return layer()->scrollableArea()->scrollHeight(); in scrollHeight()
388 return hasOverflowClip() ? layer()->scrollableArea()->scrollXOffset() : 0; in scrollLeft()
393 return hasOverflowClip() ? layer()->scrollableArea()->scrollYOffset() : 0; in scrollTop()
404 return layer()->scrollableArea()->scrollHeight(); in pixelSnappedScrollHeight()
417 layer()->scrollableArea()->scrollToXOffset(newLeft, ScrollOffsetClamped); in setScrollLeft()
[all …]
DRenderLayerModelObject.h54 ScrollableArea* scrollableArea() const;
DRenderTreeAsText.cpp537 if (l.scrollableArea()->scrollXOffset()) in write()
538 ts << " scrollX " << l.scrollableArea()->scrollXOffset(); in write()
539 if (l.scrollableArea()->scrollYOffset()) in write()
540 ts << " scrollY " << l.scrollableArea()->scrollYOffset(); in write()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollAnimatorNone.cpp50 PassOwnPtr<ScrollAnimator> ScrollAnimator::create(ScrollableArea* scrollableArea) in create() argument
52 if (scrollableArea && scrollableArea->scrollAnimatorEnabled()) in create()
53 return adoptPtr(new ScrollAnimatorNone(scrollableArea)); in create()
54 return adoptPtr(new ScrollAnimator(scrollableArea)); in create()
368 ScrollAnimatorNone::ScrollAnimatorNone(ScrollableArea* scrollableArea) in ScrollAnimatorNone() argument
369 : ScrollAnimator(scrollableArea) in ScrollAnimatorNone()
370 , m_horizontalData(this, &m_currentPosX, scrollableArea->visibleWidth()) in ScrollAnimatorNone()
371 , m_verticalData(this, &m_currentPosY, scrollableArea->visibleHeight()) in ScrollAnimatorNone()
482 m_horizontalData.updateVisibleLength(scrollableArea()->visibleWidth()); in updateVisibleLengths()
483 m_verticalData.updateVisibleLength(scrollableArea()->visibleHeight()); in updateVisibleLengths()
[all …]
DScrollAnimator.cpp43 ScrollAnimator::ScrollAnimator(ScrollableArea* scrollableArea) in ScrollAnimator() argument
44 : m_scrollableArea(scrollableArea) in ScrollAnimator()
DScrollbar.cpp48 PassRefPtr<Scrollbar> Scrollbar::create(ScrollableArea* scrollableArea, ScrollbarOrientation orient… in create() argument
50 return adoptRef(new Scrollbar(scrollableArea, orientation, size)); in create()
53 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarCon… in Scrollbar() argument
54 : m_scrollableArea(scrollableArea) in Scrollbar()
DScrollAnimator.h63 ScrollableArea* scrollableArea() const { return m_scrollableArea; } in scrollableArea() function
DScrollbar.h105 ScrollableArea* scrollableArea() const { return m_scrollableArea; } in scrollableArea() function
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DScrollAnimatorMac.mm189 - (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/
DScrollingCoordinatorChromiumTest.cpp297 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); in TEST_F()
337 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); in TEST_F()
352 ASSERT_TRUE(box->scrollableArea()->usesCompositedScrolling()); in TEST_F()
360 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); in TEST_F()
398 ASSERT_EQ(innerFrameView, scrollLayer->scrollableArea()); in TEST_F()
442 ASSERT_EQ(innerFrameView, scrollLayer->scrollableArea()); in TEST_F()
DScrollAnimatorNoneTest.cpp83 MockScrollAnimatorNone(ScrollableArea* scrollableArea) in MockScrollAnimatorNone() argument
84 : ScrollAnimatorNone(scrollableArea) { } in MockScrollAnimatorNone()
114 MockScrollableArea scrollableArea(true); in TEST() local
115 MockScrollAnimatorNone scrollAnimatorNone(&scrollableArea); in TEST()
117 EXPECT_CALL(scrollableArea, scrollSize(_)).Times(AtLeast(1)).WillRepeatedly(Return(1000)); in TEST()
118 …EXPECT_CALL(scrollableArea, minimumScrollPosition()).Times(AtLeast(1)).WillRepeatedly(Return(IntPo… in TEST()
119 …EXPECT_CALL(scrollableArea, maximumScrollPosition()).Times(AtLeast(1)).WillRepeatedly(Return(IntPo… in TEST()
120 EXPECT_CALL(scrollableArea, setScrollOffset(_)).Times(4); in TEST()
149 MockScrollableArea scrollableArea(false); in TEST() local
150 MockScrollAnimatorNone scrollAnimatorNone(&scrollableArea); in TEST()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
DCompositedLayerMapping.h258 …zontalScrollbarLayer() const { return m_owningLayer.scrollableArea() && m_owningLayer.scrollableAr… in requiresHorizontalScrollbarLayer()
259 …rticalScrollbarLayer() const { return m_owningLayer.scrollableArea() && m_owningLayer.scrollableAr… in requiresVerticalScrollbarLayer()
260 …resScrollCornerLayer() const { return m_owningLayer.scrollableArea() && !m_owningLayer.scrollableA… in requiresScrollCornerLayer()
DCompositedLayerMapping.cpp660 if (m_owningLayer.scrollableArea() && m_owningLayer.scrollableArea()->scrollsOverflow()) in updateGraphicsLayerGeometry()
661 m_owningLayer.scrollableArea()->positionOverflowControls(IntSize()); in updateGraphicsLayerGeometry()
834 IntSize adjustedScrollOffset = m_owningLayer.scrollableArea()->adjustedScrollOffset(); in updateScrollingLayerGeometry()
1045 …const IntPoint position = blockSelectionGapsBounds.location() + m_owningLayer.scrollableArea()->ad… in updateScrollingBlockSelection()
1191 …lingCoordinator->scrollableAreaScrollbarLayerDidChange(m_owningLayer.scrollableArea(), HorizontalS… in updateOverflowControlsLayers()
1193 …lingCoordinator->scrollableAreaScrollbarLayerDidChange(m_owningLayer.scrollableArea(), VerticalScr… in updateOverflowControlsLayers()
1203 Scrollbar* hBar = m_owningLayer.scrollableArea()->horizontalScrollbar(); in positionOverflowControlsLayers()
1214 Scrollbar* vBar = m_owningLayer.scrollableArea()->verticalScrollbar(); in positionOverflowControlsLayers()
1225 …const LayoutRect& scrollCornerAndResizer = m_owningLayer.scrollableArea()->scrollCornerAndResizerR… in positionOverflowControlsLayers()
1457 … scrollingCoordinator->scrollableAreaScrollLayerDidChange(m_owningLayer.scrollableArea()); in updateScrollingLayers()
[all …]
DGraphicsLayerUpdater.cpp96 layer.scrollableArea()->positionOverflowControls(IntSize()); in update()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXObject.cpp723 ScrollableArea* scrollableArea; in scrollToMakeVisibleWithSubFocus() local
724 for (scrollableArea = 0; in scrollToMakeVisibleWithSubFocus()
725 scrollParent && !(scrollableArea = scrollParent->getScrollableAreaIfScrollable()); in scrollToMakeVisibleWithSubFocus()
727 if (!scrollableArea) in scrollToMakeVisibleWithSubFocus()
731 IntPoint scrollPosition = scrollableArea->scrollPosition(); in scrollToMakeVisibleWithSubFocus()
732 IntRect scrollVisibleRect = scrollableArea->visibleContentRect(); in scrollToMakeVisibleWithSubFocus()
773 ScrollableArea* scrollableArea = outer->getScrollableAreaIfScrollable(); in scrollToGlobalPoint() local
777 IntPoint scrollPosition = scrollableArea->scrollPosition(); in scrollToGlobalPoint()
800 scrollPosition = scrollableArea->scrollPosition(); in scrollToGlobalPoint()
DAXScrollbar.cpp102 if (!m_scrollbar->scrollableArea()) in setValue()
106 …m_scrollbar->scrollableArea()->scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), newValue… in setValue()
DAXRenderObject.cpp251 return box->scrollableArea(); in getScrollableAreaIfScrollable()
1201 ScrollableArea* scrollableArea = box->scrollableArea(); in checkCachedElementRect() local
1202 if (scrollableArea && scrollableArea->scrollPosition() != m_cachedScrollPosition) in checkCachedElementRect()
1225 ScrollableArea* scrollableArea = box->scrollableArea(); in updateCachedElementRect() local
1226 if (scrollableArea) in updateCachedElementRect()
1227 m_cachedScrollPosition = scrollableArea->scrollPosition(); in updateCachedElementRect()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsLayerTest.cpp158 FakeScrollableArea scrollableArea; in TEST_F() local
159 m_graphicsLayer->setScrollableArea(&scrollableArea, false); in TEST_F()
165 EXPECT_EQ(scrollPosition, WebPoint(scrollableArea.scrollPosition())); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/web/
DLinkHighlight.cpp131 … if (renderLayer->scrollableArea() && renderLayer->scrollableArea()->usesCompositedScrolling()) { in computeEnclosingCompositingLayer()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp1183 …inResizer = layer->scrollableArea() && layer->scrollableArea()->isPointInResizeControl(result.roun… in selectAutoCursor()
1283 …if (layer && layer->scrollableArea() && layer->scrollableArea()->isPointInResizeControl(p, Resizer… in handleMousePressEvent()
1284 m_resizeScrollableArea = layer->scrollableArea(); in handleMousePressEvent()
1344 if (RenderLayerScrollableArea* scrollableArea = layer->scrollableArea()) { in associatedScrollableArea() local
1345 if (scrollableArea->scrollsOverflow()) in associatedScrollableArea()
1346 return scrollableArea; in associatedScrollableArea()
2309 …if (layer && layer->scrollableArea() && layer->scrollableArea()->isPointInResizeControl(p, Resizer… in handleScrollGestureOnResizer()
2310 m_resizeScrollableArea = layer->scrollableArea(); in handleScrollGestureOnResizer()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.cpp1301 …GraphicsLayer* layerForScrolling = searchRoot->scrollableArea() ? searchRoot->scrollableArea()->la… in findRenderLayerForGraphicsLayer()
1316 …phicsLayer* layerForHorizontalScrollbar = searchRoot->scrollableArea() ? searchRoot->scrollableAre… in findRenderLayerForGraphicsLayer()
1322 …raphicsLayer* layerForVerticalScrollbar = searchRoot->scrollableArea() ? searchRoot->scrollableAre… in findRenderLayerForGraphicsLayer()
1328 …GraphicsLayer* layerForScrollCorner = searchRoot->scrollableArea() ? searchRoot->scrollableArea()-… in findRenderLayerForGraphicsLayer()

12