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

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: addressed review comments 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 47ddccfaa4043d727c18a8ae73c8b1baa89dda87..ab48c7ae31f4bfd63a39a4342fee4dba599ed637 100644
--- a/Source/platform/scroll/ScrollableArea.h
+++ b/Source/platform/scroll/ScrollableArea.h
@@ -72,7 +72,7 @@ public:
// host window in the window's coordinate space.
virtual HostWindow* hostWindow() const { return 0; };
- virtual bool scroll(ScrollDirectionPhysical, ScrollGranularity, float delta = 1);
+ virtual ScrollResultOneDimensional scroll(ScrollDirectionPhysical, 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