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

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: Whoops, the forward declaration just needed to be moved. Created 5 years, 2 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 fc982a07b4cab6c000638c7858c76ee69519e2e4..c08c3ad6a7d8a7183baa6c57aeaebf12587e1d75 100644
--- a/third_party/WebKit/Source/core/css/CSSValue.h
+++ b/third_party/WebKit/Source/core/css/CSSValue.h
@@ -103,6 +103,8 @@ public:
bool isContentDistributionValue() const { return m_classType == CSSContentDistributionClass; }
bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass; }
bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass; }
+ bool isCustomPropertyDeclaration() const { return m_classType == CustomPropertyDeclarationClass; }
+ bool isVariableReferenceValue() const { return m_classType == VariableReferenceClass; }
bool hasFailedOrCanceledSubresources() const;
@@ -164,6 +166,8 @@ protected:
UnicodeRangeClass,
GridTemplateAreasClass,
PathClass,
+ VariableReferenceClass,
+ CustomPropertyDeclarationClass,
// SVG classes.
CSSSVGDocumentClass,

Powered by Google App Engine
This is Rietveld 408576698