Chromium Code Reviews| Index: Source/core/page/Settings.h |
| diff --git a/Source/core/page/Settings.h b/Source/core/page/Settings.h |
| index 41f89e23f784d89be55ed04f1b272b3e101d9821..4959bedc1798164cd08daace892e48a3bd04754b 100644 |
| --- a/Source/core/page/Settings.h |
| +++ b/Source/core/page/Settings.h |
| @@ -91,6 +91,9 @@ public: |
| void setTextAutosizingFontScaleFactor(float); |
| float textAutosizingFontScaleFactor() const { return m_textAutosizingFontScaleFactor; } |
| + void setDeviceScaleAdjustment(float); |
|
pdr.
2013/10/29 02:04:44
Can you add a comment here describing what this is
skobes
2013/10/29 17:43:32
Done.
|
| + float deviceScaleAdjustment() const { return m_deviceScaleAdjustment; } |
| + |
| // Only set by Layout Tests, and only used if textAutosizingEnabled() returns true. |
| void setTextAutosizingWindowSizeOverride(const IntSize&); |
| const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutosizingWindowSizeOverride; } |
| @@ -168,6 +171,7 @@ private: |
| ScriptFontFamilyMap m_fantasyFontFamilyMap; |
| ScriptFontFamilyMap m_pictographFontFamilyMap; |
| float m_textAutosizingFontScaleFactor; |
| + float m_deviceScaleAdjustment; |
| IntSize m_textAutosizingWindowSizeOverride; |
| bool m_textAutosizingEnabled : 1; |
| bool m_useWideViewport : 1; |
| @@ -192,6 +196,7 @@ private: |
| Timer<Settings> m_setImageLoadingSettingsTimer; |
| void imageLoadingSettingsTimerFired(Timer<Settings>*); |
| + void recalculateAutosizingMultipliers(); |
| }; |
| } // namespace WebCore |