Index: Source/core/platform/ScrollView.h |
diff --git a/Source/core/platform/ScrollView.h b/Source/core/platform/ScrollView.h |
index bea72cfd8b38275043db27b16054618e3c658f0c..bb3e005cc86327f05eb64ad9d81a57f7503f8aed 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 1; } |
+ |
// 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; |