Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Unified Diff: Source/core/frame/FrameView.cpp

Issue 1056983004: OverscrollGlow for mainThread-{BLINK CHANGES} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added function for comparison Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 42e9234e65c291eb04322b879a93c15d5934e03e..13b3ea334e9d2d5d32b36d27fd56bd448e269663 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -3248,7 +3248,7 @@ void FrameView::setScrollOffset(const DoublePoint& offset)
scrollTo(adjustScrollPositionWithinRange(offset));
}
-bool FrameView::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta)
+ScrollResultOneDimensional FrameView::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta)
{
ScrollDirection physicalDirection =
toPhysicalDirection(direction, isVerticalDocument(), isFlippedDocument());

Powered by Google App Engine
This is Rietveld 408576698