Index: Source/core/platform/ScrollableArea.h |
diff --git a/Source/core/platform/ScrollableArea.h b/Source/core/platform/ScrollableArea.h |
index 4b0b7b6654f9b27757e0a1910e78b97ba03960b0..4ed977e3438ce9722e4e71f275e41c28e7ae186e 100644 |
--- a/Source/core/platform/ScrollableArea.h |
+++ b/Source/core/platform/ScrollableArea.h |
@@ -40,6 +40,9 @@ class ScrollAnimator; |
class ScrollableArea { |
public: |
+ |
+ // Allow the ScrollableArea to be scrolled when we don't have scrollbars (i.e. for an input text field) |
+ bool touchScroll(ScrollDirection, ScrollGranularity, float multiplier = 1); |
bool scroll(ScrollDirection, ScrollGranularity, float multiplier = 1); |
void scrollToOffsetWithoutAnimation(const FloatPoint&); |
void scrollToOffsetWithoutAnimation(ScrollbarOrientation, float offset); |