diff options
Diffstat (limited to 'Tools/DumpRenderTree/chromium/WebPreferences.cpp')
-rw-r--r-- | Tools/DumpRenderTree/chromium/WebPreferences.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/DumpRenderTree/chromium/WebPreferences.cpp b/Tools/DumpRenderTree/chromium/WebPreferences.cpp index 872ebfb4a..0e3ce6c52 100644 --- a/Tools/DumpRenderTree/chromium/WebPreferences.cpp +++ b/Tools/DumpRenderTree/chromium/WebPreferences.cpp @@ -80,6 +80,7 @@ void WebPreferences::reset() defaultTextEncodingName = WebString::fromUTF8("ISO-8859-1"); developerExtrasEnabled = true; experimentalWebGLEnabled = false; + experimentalCSSRegionsEnabled = true; javaEnabled = false; javaScriptCanAccessClipboard = true; javaScriptCanOpenWindowsAutomatically = true; @@ -117,6 +118,7 @@ void WebPreferences::reset() forceCompositingMode = false; hixie76WebSocketProtocolEnabled = true; perTilePaintingEnabled = false; + mockScrollbarsEnabled = false; } static void setStandardFontFamilyWrapper(WebSettings* settings, const WebKit::WebString& font, UScriptCode script) @@ -192,6 +194,7 @@ void WebPreferences::applyTo(WebView* webView) settings->setDefaultTextEncodingName(defaultTextEncodingName); settings->setDeveloperExtrasEnabled(developerExtrasEnabled); settings->setExperimentalWebGLEnabled(experimentalWebGLEnabled); + settings->setExperimentalCSSRegionsEnabled(experimentalCSSRegionsEnabled); settings->setJavaEnabled(javaEnabled); settings->setJavaScriptCanAccessClipboard(javaScriptCanAccessClipboard); settings->setJavaScriptCanOpenWindowsAutomatically(javaScriptCanOpenWindowsAutomatically); @@ -222,6 +225,7 @@ void WebPreferences::applyTo(WebView* webView) settings->setAcceleratedPaintingEnabled(acceleratedPaintingEnabled); settings->setHixie76WebSocketProtocolEnabled(hixie76WebSocketProtocolEnabled); settings->setPerTilePaintingEnabled(perTilePaintingEnabled); + settings->setMockScrollbarsEnabled(mockScrollbarsEnabled); // Fixed values. settings->setTextDirectionSubmenuInclusionBehaviorNeverIncluded(); @@ -231,7 +235,6 @@ void WebPreferences::applyTo(WebView* webView) settings->setEditableLinkBehaviorNeverLive(); settings->setEnableScrollAnimator(false); settings->setFontRenderingModeNormal(); - settings->setMockScrollbarsEnabled(false); settings->setTextDirectionSubmenuInclusionBehaviorNeverIncluded(); settings->setUsesEncodingDetector(false); settings->setImagesEnabled(true); @@ -240,4 +243,5 @@ void WebPreferences::applyTo(WebView* webView) settings->setFullScreenEnabled(true); settings->setValidationMessageTimerMagnification(-1); settings->setVisualWordMovementEnabled(false); + settings->setPasswordEchoEnabled(false); } |