Searched refs:scrollDelta (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/
H A DHostWindow.h53 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0;
/external/chromium_org/third_party/WebKit/Source/web/painting/
H A DPaintAggregator.h46 // by the amount specified by |scrollDelta|. If |paintRects| is non-empty,
49 // |scrollDelta| can only specify scrolling in one direction (i.e., the x
56 // |scrollDelta|. This rect must be repainted.
62 WebCore::IntPoint scrollDelta; member in struct:blink::PaintAggregator::PendingUpdate
H A DPaintAggregator.cpp127 ASSERT(!(scrollDelta.x() && scrollDelta.y()));
133 if (scrollDelta.x()) {
134 int dx = scrollDelta.x();
145 int dy = scrollDelta.y();
260 if ((dx && m_update.scrollDelta.y()) || (dy && m_update.scrollDelta.x())) {
268 m_update.scrollDelta.move(dx, dy);
271 if (m_update.scrollDelta == IntPoint()) {
339 m_update.scrollDelta
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollView.cpp268 IntSize scrollDelta = newOffset - m_scrollOffset; local
269 if (scrollDelta == IntSize())
277 m_pendingScrollDelta += scrollDelta;
279 scrollContents(scrollDelta);
520 IntSize scrollDelta = m_pendingScrollDelta;
522 scrollContents(scrollDelta);
525 void ScrollView::scrollContents(const IntSize& scrollDelta) argument
541 int panIconDirtySquareSizeLength = 2 * (panIconSizeLength + max(abs(scrollDelta.width()), abs(scrollDelta.height()))); // We only want to repaint what's necessary
548 if (!shouldAttemptToScrollUsingFastPath() || !scrollContentsFastPath(-scrollDelta, scrollViewRec
558 scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) argument
[all...]
H A DScrollView.h168 void scrollContents(const IntSize& scrollDelta);
276 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect);
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebPopupMenuImpl.cpp391 void WebPopupMenuImpl::scroll(const IntSize& scrollDelta, const IntRect& scrollRect, const IntRect& clipRect) argument
394 int dx = scrollDelta.width();
395 int dy = scrollDelta.height();
H A DWebPagePopupImpl.cpp100 virtual void scroll(const IntSize& scrollDelta, const IntRect& scrollRect, const IntRect& clipRect) OVERRIDE
102 m_popup->widgetClient()->didScrollRect(scrollDelta.width(), scrollDelta.height(), intersection(scrollRect, clipRect));
H A DWebPopupMenuImpl.h124 const WebCore::IntSize& scrollDelta, const WebCore::IntRect& scrollRect,
H A DChromeClientImpl.cpp497 const IntSize& scrollDelta, const IntRect& scrollRect,
502 int dx = scrollDelta.width();
503 int dy = scrollDelta.height();
496 scroll( const IntSize& scrollDelta, const IntRect& scrollRect, const IntRect& clipRect) argument
H A DChromeClientImpl.h122 const WebCore::IntSize& scrollDelta, const WebCore::IntRect& rectToScroll,
H A DWebPluginContainerImpl.cpp394 IntSize scrollDelta(dx, dy);
397 parent()->hostWindow()->scroll(scrollDelta, damageRect, damageRect);
H A DWebViewImpl.cpp4022 void WebViewImpl::applyScrollAndScale(const WebSize& scrollDelta, float pageScaleDelta) argument
4040 TRACE_EVENT_INSTANT2("webkit", "WebViewImpl::applyScrollAndScale::scrollBy", "x", scrollDelta.width, "y", scrollDelta.height);
4042 IntPoint scrollOffset(webScrollOffset.width + scrollDelta.width, webScrollOffset.height + scrollDelta.height);
4048 scrollOffset.width += scrollDelta.width;
4049 scrollOffset.height += scrollDelta.height;
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DPaintAggregatorTest.cpp128 EXPECT_EQ(delta.x(), update.scrollDelta.x());
129 EXPECT_EQ(delta.y(), update.scrollDelta.y());
157 EXPECT_EQ(expectedDelta.x(), update.scrollDelta.x());
158 EXPECT_EQ(expectedDelta.y(), update.scrollDelta.y());
H A DWebFrameTest.cpp2342 WebCore::IntSize scrollDelta = webViewImpl->fakePageScaleAnimationTargetPositionForTesting() - webViewImpl->mainFrameImpl()->frameView()->scrollPosition(); local
2344 webViewImpl->applyScrollAndScale(scrollDelta, scaleDelta);
/external/chromium_org/third_party/WebKit/public/web/
H A DWebWidget.h139 virtual void applyScrollAndScale(const WebSize& scrollDelta, float scaleFactor) { } argument
/external/chromium_org/third_party/WebKit/Source/platform/mac/
H A DScrollAnimatorMac.h66 void sendContentAreaScrolledSoon(const FloatSize& scrollDelta);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DChrome.cpp76 void Chrome::scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) argument
78 m_client->scroll(scrollDelta, rectToScroll, clipRect);
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DFrameView.h329 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) OVERRIDE;
H A DFrameView.cpp1348 bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) argument
1351 hostWindow()->scroll(scrollDelta, rectToScroll, clipRect);
1397 previousRect.move(scrollDelta);
1411 hostWindow()->scroll(scrollDelta, rectToScroll, clipRect);
1419 scrolledRect.move(-scrollDelta);

Completed in 240 milliseconds