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

Unified Diff: trunk/Source/core/testing/InternalSettings.h

Issue 14706011: Revert 150468 "Switching CSS Variables over to RuntimeEnabledFea..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 7 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 | « trunk/Source/core/page/Settings.cpp ('k') | trunk/Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/testing/InternalSettings.h
===================================================================
--- trunk/Source/core/testing/InternalSettings.h (revision 150485)
+++ trunk/Source/core/testing/InternalSettings.h (working copy)
@@ -51,6 +51,7 @@
void restoreTo(Settings*);
bool m_originalCSSExclusionsEnabled;
+ bool m_originalCSSVariablesEnabled;
bool m_originalAuthorShadowDOMForAnyElementEnabled;
bool m_originalExperimentalShadowDOMEnabled;
bool m_originalExperimentalWebSocketEnabled;
@@ -104,6 +105,10 @@
void setShouldDisplayTrackKind(const String& kind, bool, ExceptionCode&);
bool shouldDisplayTrackKind(const String& kind, ExceptionCode&);
+ // cssVariablesEnabled is not backed by RuntimeEnabledFeatures, but should be.
+ bool cssVariablesEnabled(ExceptionCode&);
+ void setCSSVariablesEnabled(bool, ExceptionCode&);
+
// FIXME: The following are RuntimeEnabledFeatures and likely
// cannot be changed after process start. These setters should
// be removed or moved onto internals.runtimeFlags:
« no previous file with comments | « trunk/Source/core/page/Settings.cpp ('k') | trunk/Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698