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

Unified Diff: Source/platform/scroll/ScrollableArea.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/scroll/ScrollableArea.h
diff --git a/Source/platform/scroll/ScrollableArea.h b/Source/platform/scroll/ScrollableArea.h
index cc523b53e6493218bc1c5a4d2ee2ba42507fa696..ba730dae76e3400d0abe91d99011ef3e17151b2d 100644
--- a/Source/platform/scroll/ScrollableArea.h
+++ b/Source/platform/scroll/ScrollableArea.h
@@ -70,6 +70,7 @@ public:
static bool scrollBehaviorFromString(const String&, ScrollBehavior&);
bool handleWheelEvent(const PlatformWheelEvent&);
+ bool handleWheelEvent(const PlatformWheelEvent&, bool canRubberbandLeft, bool canRubberbandRight);
// Functions for controlling if you can scroll past the end of the document.
bool constrainsScrollingToContentEdge() const { return m_constrainsScrollingToContentEdge; }

Powered by Google App Engine
This is Rietveld 408576698