Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1390)

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 309593007: Expand GPU rasterization trigger for Finch experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use a WebSetting Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index f8e61c5f7852cbf9abfce0be333bd09c61c8412c..ecba555084bcb354eff68427872eb6a0669889df 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -54,6 +54,7 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings, InspectorController* inspec
, m_doubleTapToZoomEnabled(false)
, m_supportDeprecatedTargetDensityDPI(false)
, m_shrinksViewportContentToFit(false)
+ , m_useExpandedHeuristicsForGpuRasterization(false)
, m_viewportMetaLayoutSizeQuirk(false)
, m_viewportMetaNonUserScalableQuirk(false)
, m_clobberUserAgentInitialScaleQuirk(false)
@@ -289,6 +290,11 @@ void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow)
m_settings->setAllowScriptsToCloseWindows(allow);
}
+void WebSettingsImpl::setUseExpandedHeuristicsForGpuRasterization(bool useExpandedHeuristics)
+{
+ m_useExpandedHeuristicsForGpuRasterization = useExpandedHeuristics;
+}
+
void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacyBackgroundSizeShorthandBehavior)
{
m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundSizeShorthandBehavior);
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698