Index: Source/web/WebFrameImpl.h |
diff --git a/Source/web/WebFrameImpl.h b/Source/web/WebFrameImpl.h |
index 18696db49c5f91d0674899fa1422e2116c2c11bd..08b03733c3c5e5d1499f691e4545c9c8c5f1b7f7 100644 |
--- a/Source/web/WebFrameImpl.h |
+++ b/Source/web/WebFrameImpl.h |
@@ -298,6 +298,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: |
@@ -495,6 +497,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) |