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

Unified Diff: Source/core/css/parser/CSSParserImpl.h

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: with missing files Created 5 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
Index: Source/core/css/parser/CSSParserImpl.h
diff --git a/Source/core/css/parser/CSSParserImpl.h b/Source/core/css/parser/CSSParserImpl.h
index daedf0b4a28a527fb68dce2705f2b30b53a70271..dd7b1a985b57a9a52afa406784af2d89dc9e6e0d 100644
--- a/Source/core/css/parser/CSSParserImpl.h
+++ b/Source/core/css/parser/CSSParserImpl.h
@@ -98,6 +98,7 @@ private:
void consumeDeclarationList(CSSParserTokenRange, StyleRule::Type);
void consumeDeclaration(CSSParserTokenRange, StyleRule::Type);
void consumeDeclarationValue(CSSParserTokenRange, CSSPropertyID, bool important, StyleRule::Type);
+ void consumeVariableDeclarationValue(CSSParserTokenRange, const AtomicString& variableName);
static PassOwnPtr<Vector<double>> consumeKeyframeKeyList(CSSParserTokenRange);
@@ -111,6 +112,8 @@ private:
// For the inspector
CSSParserObserverWrapper* m_observerWrapper;
+
+ AtomicString m_variableName;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698