diff options
Diffstat (limited to 'Source/WebKit/chromium/src/WebSettingsImpl.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/WebSettingsImpl.cpp | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/Source/WebKit/chromium/src/WebSettingsImpl.cpp b/Source/WebKit/chromium/src/WebSettingsImpl.cpp index b14cde32f..20fcc1b96 100644 --- a/Source/WebKit/chromium/src/WebSettingsImpl.cpp +++ b/Source/WebKit/chromium/src/WebSettingsImpl.cpp @@ -53,7 +53,7 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings) , m_showPaintRects(false) , m_renderVSyncEnabled(true) , m_viewportEnabled(false) - , m_applyDefaultDeviceScaleFactorInCompositor(false) + , m_applyDeviceScaleFactorInCompositor(false) , m_gestureTapHighlightEnabled(true) , m_autoZoomFocusedNodeToLegibleScale(false) , m_deferredImageDecodingEnabled(false) @@ -139,9 +139,9 @@ bool WebSettingsImpl::deviceSupportsTouch() return m_settings->deviceSupportsTouch(); } -void WebSettingsImpl::setApplyDefaultDeviceScaleFactorInCompositor(bool applyDefaultDeviceScaleFactorInCompositor) +void WebSettingsImpl::setApplyDeviceScaleFactorInCompositor(bool applyDeviceScaleFactorInCompositor) { - m_applyDefaultDeviceScaleFactorInCompositor = applyDefaultDeviceScaleFactorInCompositor; + m_applyDeviceScaleFactorInCompositor = applyDeviceScaleFactorInCompositor; } void WebSettingsImpl::setApplyPageScaleFactorInCompositor(bool applyPageScaleFactorInCompositor) @@ -431,6 +431,11 @@ void WebSettingsImpl::setEditingBehavior(EditingBehavior behavior) m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType>(behavior)); } +void WebSettingsImpl::setAcceleratedAnimationEnabled(bool enabled) +{ + m_acceleratedAnimationEnabled = enabled; +} + void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) { m_settings->setAcceleratedCompositingEnabled(enabled); @@ -586,6 +591,11 @@ void WebSettingsImpl::setPasswordEchoDurationInSeconds(double durationInSeconds) m_settings->setPasswordEchoDurationInSeconds(durationInSeconds); } +void WebSettingsImpl::setPerTilePaintingEnabled(bool enabled) +{ + m_perTilePaintingEnabled = enabled; +} + void WebSettingsImpl::setShouldPrintBackgrounds(bool enabled) { m_settings->setShouldPrintBackgrounds(enabled); @@ -600,6 +610,11 @@ void WebSettingsImpl::setEnableScrollAnimator(bool enabled) #endif } +void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) +{ + m_settings->setTouchAdjustmentEnabled(enabled); +} + bool WebSettingsImpl::scrollAnimatorEnabled() const { #if ENABLE(SMOOTH_SCROLLING) @@ -696,4 +711,9 @@ bool WebSettingsImpl::applyPageScaleFactorInCompositor() const return m_settings->applyPageScaleFactorInCompositor(); } +void WebSettingsImpl::setAllowCustomScrollbarInMainFrame(bool enabled) +{ + m_settings->setAllowCustomScrollbarInMainFrame(enabled); +} + } // namespace WebKit |