| Index: Source/WebKit/chromium/src/WebSettingsImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebSettingsImpl.cpp b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
|
| index 33b9d144f753f4c0f3c3fa9a658a577c85a6769d..ffd6733615384b4ba41424feb0bb684be486f6af 100644
|
| --- a/Source/WebKit/chromium/src/WebSettingsImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
|
| @@ -58,6 +58,8 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings)
|
| , m_deferredImageDecodingEnabled(false)
|
| , m_doubleTapToZoomEnabled(false)
|
| , m_supportDeprecatedTargetDensityDPI(false)
|
| + , m_resizeAffectsLayoutWidth(false)
|
| + , m_layoutFallbackWidthIsWindowWidth(false)
|
| {
|
| ASSERT(settings);
|
| }
|
| @@ -680,4 +682,24 @@ void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled)
|
| m_settings->setPinchVirtualViewportEnabled(enabled);
|
| }
|
|
|
| +bool WebSettingsImpl::resizeAffectsLayoutWidth() const
|
| +{
|
| + return m_resizeAffectsLayoutWidth;
|
| +}
|
| +
|
| +void WebSettingsImpl::setResizeAffectsLayoutWidth(bool resizeAffectsLayoutWidth)
|
| +{
|
| + m_resizeAffectsLayoutWidth = resizeAffectsLayoutWidth;
|
| +}
|
| +
|
| +bool WebSettingsImpl::layoutFallbackWidthIsWindowWidth() const
|
| +{
|
| + return m_layoutFallbackWidthIsWindowWidth;
|
| +}
|
| +
|
| +void WebSettingsImpl::setLayoutFallbackWidthIsWindowWidth(bool layoutFallbackWidthIsWindowWidth)
|
| +{
|
| + m_layoutFallbackWidthIsWindowWidth = layoutFallbackWidthIsWindowWidth;
|
| +}
|
| +
|
| } // namespace WebKit
|
|
|