Index: Source/web/WebFrameImpl.h |
diff --git a/Source/web/WebFrameImpl.h b/Source/web/WebFrameImpl.h |
index 22891212c8d1b7feef996dd1d4aabc52f83063ac..392edf5637178dca1c9dacfd6a26025f15d37037 100644 |
--- a/Source/web/WebFrameImpl.h |
+++ b/Source/web/WebFrameImpl.h |
@@ -302,6 +302,8 @@ public: |
WebFrameClient* client() const { return m_client; } |
void setClient(WebFrameClient* client) { m_client = client; } |
+ void setInputEventsScaleFactorForEmulation(float); |
+ |
static void selectWordAroundPosition(WebCore::Frame*, WebCore::VisiblePosition); |
private: |
@@ -499,6 +501,9 @@ private: |
// Ensure we don't overwrite valid history data during same document loads |
// from HistoryItems |
bool m_inSameDocumentHistoryLoad; |
+ |
+ // Stores the additional input evetns scale when device metrics emulation is enabled. |
+ float m_inputEventsScaleFactorForEmulation; |
}; |
inline WebFrameImpl* toWebFrameImpl(WebFrame* webFrame) |