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

Unified Diff: Source/platform/mac/ScrollElasticityController.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/ScrollElasticityController.h
diff --git a/Source/platform/mac/ScrollElasticityController.h b/Source/platform/mac/ScrollElasticityController.h
index 180e79c9335c9e0cd8c93f143b85de2e5f774eb4..79067d1012ef6c519b97533dea7bcafc3facbec9 100644
--- a/Source/platform/mac/ScrollElasticityController.h
+++ b/Source/platform/mac/ScrollElasticityController.h
@@ -65,7 +65,7 @@ class ScrollElasticityController {
public:
explicit ScrollElasticityController(ScrollElasticityControllerClient*);
- bool handleWheelEvent(const PlatformWheelEvent&);
+ bool handleWheelEvent(const PlatformWheelEvent&, bool canRubberbandLeft, bool canRubberbandRight);
void snapRubberBandTimerFired();
bool isRubberBandInProgress() const;

Powered by Google App Engine
This is Rietveld 408576698