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

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: Moved can_rubberband parameters into WheelEvent. 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..a1acefa3a2cec89c535f5d8f71f655e678afd5ca 100644
--- a/Source/platform/mac/ScrollElasticityController.h
+++ b/Source/platform/mac/ScrollElasticityController.h
@@ -74,7 +74,8 @@ private:
void stopSnapRubberbandTimer();
void snapRubberBand();
- bool shouldRubberBandInHorizontalDirection(const PlatformWheelEvent&);
+ // This method controls whether a given event can trigger rubber banding.
+ bool shouldStartRubberBanding(const PlatformWheelEvent&);
ScrollElasticityControllerClient* m_client;

Powered by Google App Engine
This is Rietveld 408576698