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

Unified Diff: third_party/WebKit/Source/core/css/CSSValue.h

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Post-merge Created 5 years, 3 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
Index: third_party/WebKit/Source/core/css/CSSValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSValue.h b/third_party/WebKit/Source/core/css/CSSValue.h
index 27d63e01564d854464e00aa5e073e9b2723ef3ce..8e8e87c8c9f9ffb98eb3c2084e8a802755a4cf32 100644
--- a/third_party/WebKit/Source/core/css/CSSValue.h
+++ b/third_party/WebKit/Source/core/css/CSSValue.h
@@ -94,6 +94,7 @@ public:
bool isContentDistributionValue() const { return m_classType == CSSContentDistributionClass; }
bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass; }
bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass; }
+ bool isVariableValue() const { return m_classType == VariableClass; }
bool hasFailedOrCanceledSubresources() const;
@@ -146,6 +147,7 @@ protected:
UnicodeRangeClass,
GridTemplateAreasClass,
PathClass,
+ VariableClass,
// SVG classes.
CSSSVGDocumentClass,

Powered by Google App Engine
This is Rietveld 408576698