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

/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:WebKit::PaintAggregator::PendingUpdate
H A DPaintAggregator.cpp125 ASSERT(!(scrollDelta.x() && scrollDelta.y()));
131 if (scrollDelta.x()) {
132 int dx = scrollDelta.x();
143 int dy = scrollDelta.y();
258 if ((dx && m_update.scrollDelta.y()) || (dy && m_update.scrollDelta.x())) {
266 m_update.scrollDelta.move(dx, dy);
269 if (m_update.scrollDelta == IntPoint()) {
337 m_update.scrollDelta
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DHostWindow.h52 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0;
H A DScrollView.cpp307 IntSize scrollDelta = newOffset - m_scrollOffset; local
308 if (scrollDelta == IntSize())
316 scrollContents(scrollDelta);
551 void ScrollView::scrollContents(const IntSize& scrollDelta) argument
567 int panIconDirtySquareSizeLength = 2 * (panIconSizeLength + max(abs(scrollDelta.width()), abs(scrollDelta.height()))); // We only want to repaint what's necessary
576 if (!scrollContentsFastPath(-scrollDelta, scrollViewRect, clipRect))
591 bool ScrollView::scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) argument
593 hostWindow()->scroll(scrollDelta, rectToScroll, clipRect);
H A DScrollView.h172 void scrollContents(const IntSize& scrollDelta);
285 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect);
/external/chromium_org/third_party/WebKit/public/web/
H A DWebWidget.h152 virtual void applyScrollAndScale(const WebSize& scrollDelta, float scaleFactor) { } argument
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebPagePopupImpl.cpp104 virtual void scroll(const IntSize& scrollDelta, const IntRect& scrollRect, const IntRect& clipRect) OVERRIDE
106 m_popup->widgetClient()->didScrollRect(scrollDelta.width(), scrollDelta.height(), intersection(scrollRect, clipRect));
H A DWebPopupMenuImpl.cpp356 void WebPopupMenuImpl::scroll(const IntSize& scrollDelta, const IntRect& scrollRect, const IntRect& clipRect) argument
359 int dx = scrollDelta.width();
360 int dy = scrollDelta.height();
H A DWebPopupMenuImpl.h117 const WebCore::IntSize& scrollDelta, const WebCore::IntRect& scrollRect,
H A DChromeClientImpl.cpp500 const IntSize& scrollDelta, const IntRect& scrollRect,
505 int dx = scrollDelta.width();
506 int dy = scrollDelta.height();
510 m_webView->scrollRootLayerRect(scrollDelta, clipRect);
499 scroll( const IntSize& scrollDelta, const IntRect& scrollRect, const IntRect& clipRect) argument
H A DChromeClientImpl.h117 const WebCore::IntSize& scrollDelta, const WebCore::IntRect& rectToScroll,
H A DWebPluginContainerImpl.cpp378 IntSize scrollDelta(dx, dy);
381 parent()->hostWindow()->scroll(scrollDelta, damageRect, damageRect);
H A DWebViewImpl.cpp4065 void WebViewImpl::applyScrollAndScale(const WebSize& scrollDelta, float pageScaleDelta) argument
4071 TRACE_EVENT_INSTANT2("webkit", "WebViewImpl::applyScrollAndScale::scrollBy", "x", scrollDelta.width, "y", scrollDelta.height);
4073 IntPoint scrollOffset(webScrollOffset.width + scrollDelta.width, webScrollOffset.height + scrollDelta.height);
4079 scrollOffset.width += scrollDelta.width;
4080 scrollOffset.height += scrollDelta.height;
H A DWebViewImpl.h500 void scrollRootLayerRect(const WebCore::IntSize& scrollDelta, const WebCore::IntRect& clipRect);
/external/chromium_org/third_party/WebKit/Source/web/win/
H A DWebInputEventFactory.cpp461 float scrollDelta = wheelDelta; local
467 scrollDelta *= static_cast<float>(scrollChars) * scrollbarPixelsPerLine;
474 scrollDelta *= static_cast<float>(scrollLines) * scrollbarPixelsPerLine;
480 result.deltaX = scrollDelta;
483 result.deltaY = scrollDelta;
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/
H A DScrollAnimatorMac.h66 void sendContentAreaScrolledSoon(const FloatSize& scrollDelta);
/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.cpp1581 WebCore::IntSize scrollDelta = webViewImpl->fakePageScaleAnimationTargetPositionForTesting() - webViewImpl->mainFrameImpl()->frameView()->scrollPosition(); local
1583 webViewImpl->applyScrollAndScale(scrollDelta, scaleDelta);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DChrome.cpp78 void Chrome::scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) argument
80 m_client->scroll(scrollDelta, rectToScroll, clipRect);
H A DFrameView.h341 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect);
H A DFrameView.cpp1330 bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) argument
1333 hostWindow()->scroll(scrollDelta, rectToScroll, clipRect);
1374 hostWindow()->scroll(scrollDelta, rectToScroll, clipRect);
1382 scrolledRect.move(scrollDelta);
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DContentViewGestureHandlerTest.java1420 final int scrollDelta = 5;
1434 FAKE_COORD_X, FAKE_COORD_Y + scaledTouchSlop + scrollDelta, 0);
1446 assertEquals(-scrollDelta, extraParams.getInt(ContentViewGestureHandler.DISTANCE_Y));

Completed in 1366 milliseconds