Index: Source/core/platform/ScrollView.h |
diff --git a/Source/core/platform/ScrollView.h b/Source/core/platform/ScrollView.h |
index 5f159ae9bac4fcecfa4899f57b0ad9d4b6097618..fbd3582be1e0a13ffcec1e3339d48e36de1df90f 100644 |
--- a/Source/core/platform/ScrollView.h |
+++ b/Source/core/platform/ScrollView.h |
@@ -130,6 +130,9 @@ public: |
IntSize unscaledVisibleContentSize(VisibleContentRectIncludesScrollbars = ExcludeScrollbars) const; |
virtual float visibleContentScaleFactor() const { return 1; } |
+ // Scale used to convert incoming input events. Usually the same as visibleContentScaleFactor(), unless specifically changed. |
+ virtual float inputEventsScaleFactor() const { return visibleContentScaleFactor(); } |
+ |
// Functions for getting/setting the size webkit should use to layout the contents. By default this is the same as the visible |
// content size. Explicitly setting a layout size value will cause webkit to layout the contents using this size instead. |
IntSize layoutSize(VisibleContentRectIncludesScrollbars = ExcludeScrollbars) const; |