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

Unified Diff: Source/platform/mac/ScrollAnimatorMac.h

Issue 197213011: Selectively disable rubber banding on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/mac/ScrollAnimatorMac.h
diff --git a/Source/platform/mac/ScrollAnimatorMac.h b/Source/platform/mac/ScrollAnimatorMac.h
index f7efdd2e8d0f98364d87e79e5aa287fcb323fcfd..359b576d4bae960b2f477151c14e3c0d4162475a 100644
--- a/Source/platform/mac/ScrollAnimatorMac.h
+++ b/Source/platform/mac/ScrollAnimatorMac.h
@@ -89,7 +89,7 @@ private:
virtual void scrollToOffsetWithoutAnimation(const FloatPoint&) OVERRIDE;
#if USE(RUBBER_BANDING)
- virtual bool handleWheelEvent(const PlatformWheelEvent&) OVERRIDE;
+ virtual bool handleWheelEvent(const PlatformWheelEvent&, bool canRubberbandLeft, bool canRubberbandRight) OVERRIDE;
#endif
virtual void handleWheelEventPhase(PlatformWheelEventPhase) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698