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

Unified Diff: webkit/glue/webpreferences.cc

Issue 10815069: Add CSS variables feature flag to chrome://flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix roland's feedback. Created 8 years, 5 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 | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index a5d67faa3546818e926b90bc7b712a6cd35caaea..77fa22377d8f4b48acbc48da7d093f9cc110b04f 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -102,6 +102,7 @@ WebPreferences::WebPreferences()
visual_word_movement_enabled(false),
css_regions_enabled(false),
css_shaders_enabled(false),
+ css_variables_enabled(false),
device_supports_touch(false),
device_supports_mouse(true),
#if !defined(WEBCOMPOSITOR_OWNS_SETTINGS)
@@ -387,6 +388,7 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setExperimentalCSSRegionsEnabled(css_regions_enabled);
settings->setExperimentalCSSCustomFilterEnabled(css_shaders_enabled);
+ settings->setExperimentalCSSVariablesEnabled(css_variables_enabled);
settings->setDeviceSupportsTouch(device_supports_touch);
settings->setDeviceSupportsMouse(device_supports_mouse);
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698