| Index: Source/web/WebSettingsImpl.cpp
|
| diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
|
| index 0136af0893752817909485780592381e1e48569c..c1a6e1857205932031b828df3a4279d6d159aafd 100644
|
| --- a/Source/web/WebSettingsImpl.cpp
|
| +++ b/Source/web/WebSettingsImpl.cpp
|
| @@ -58,6 +58,7 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings)
|
| , m_supportDeprecatedTargetDensityDPI(false)
|
| , m_viewportMetaLayoutSizeQuirk(false)
|
| , m_pinchOverlayScrollbarThickness(0)
|
| + , m_mainFrameResizesAreOrientationChanges(false)
|
| {
|
| ASSERT(settings);
|
| }
|
| @@ -641,6 +642,16 @@ bool WebSettingsImpl::viewportEnabled() const
|
| return m_settings->viewportEnabled();
|
| }
|
|
|
| +bool WebSettingsImpl::viewportMetaEnabled() const
|
| +{
|
| + return m_settings->viewportMetaEnabled();
|
| +}
|
| +
|
| +bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const
|
| +{
|
| + return m_mainFrameResizesAreOrientationChanges;
|
| +}
|
| +
|
| void WebSettingsImpl::setShouldDisplaySubtitles(bool enabled)
|
| {
|
| m_settings->setShouldDisplaySubtitles(enabled);
|
| @@ -681,6 +692,11 @@ void WebSettingsImpl::setViewportEnabled(bool enabled)
|
| m_settings->setViewportEnabled(enabled);
|
| }
|
|
|
| +void WebSettingsImpl::setViewportMetaEnabled(bool enabled)
|
| +{
|
| + m_settings->setViewportMetaEnabled(enabled);
|
| +}
|
| +
|
| void WebSettingsImpl::setSyncXHRInDocumentsEnabled(bool enabled)
|
| {
|
| m_settings->setSyncXHRInDocumentsEnabled(enabled);
|
| @@ -741,4 +757,9 @@ void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled)
|
| m_settings->setUseSolidColorScrollbars(enabled);
|
| }
|
|
|
| +void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
|
| +{
|
| + m_mainFrameResizesAreOrientationChanges = enabled;
|
| +}
|
| +
|
| } // namespace WebKit
|
|
|