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

Unified Diff: Source/platform/scroll/ScrollableArea.h

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/platform/scroll/ScrollableArea.h
diff --git a/Source/platform/scroll/ScrollableArea.h b/Source/platform/scroll/ScrollableArea.h
index ee434977a1d608441aa29fe15fff6e2628a933d4..56c28e3f7eb6f2bcdfee17c0ed7f360949ed3c8a 100644
--- a/Source/platform/scroll/ScrollableArea.h
+++ b/Source/platform/scroll/ScrollableArea.h
@@ -68,7 +68,7 @@ public:
// host window in the window's coordinate space.
virtual HostWindow* hostWindow() const { return 0; };
- virtual bool scroll(ScrollDirection, ScrollGranularity, float delta = 1);
+ virtual ScrollResultOneDimensional scroll(ScrollDirection, ScrollGranularity, float delta = 1);
virtual void setScrollPosition(const DoublePoint&, ScrollBehavior = ScrollBehaviorInstant);
void scrollToOffsetWithoutAnimation(const FloatPoint&, bool cancelProgrammaticAnimations = true);
void scrollToOffsetWithoutAnimation(ScrollbarOrientation, float offset);

Powered by Google App Engine
This is Rietveld 408576698