Chromium Code Reviews| Index: Source/core/css/parser/CSSParserImpl.h |
| diff --git a/Source/core/css/parser/CSSParserImpl.h b/Source/core/css/parser/CSSParserImpl.h |
| index 94e8e8229df803fdd9b70e97a634e12d989b8307..f2fa196c82d5d19a618c97677bec88a8686b3200 100644 |
| --- a/Source/core/css/parser/CSSParserImpl.h |
| +++ b/Source/core/css/parser/CSSParserImpl.h |
| @@ -10,6 +10,7 @@ |
| #include "core/css/CSSPropertySourceData.h" |
| #include "core/css/parser/CSSParserMode.h" |
| #include "core/css/parser/CSSParserTokenRange.h" |
| +#include "core/css/parser/CSSTokenizer.h" |
| #include "platform/heap/Handle.h" |
| #include "wtf/Vector.h" |
| #include "wtf/text/WTFString.h" |
| @@ -38,7 +39,7 @@ class MutableStylePropertySet; |
| class CSSParserImpl { |
| STACK_ALLOCATED(); |
| public: |
| - CSSParserImpl(const CSSParserContext&, StyleSheetContents* = nullptr); |
| + CSSParserImpl(const CSSParserContext&, const String&, StyleSheetContents* = nullptr); |
| enum AllowedRulesType { |
| // As per css-syntax, css-cascade and css-namespaces, @charset rules |
| @@ -98,6 +99,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 +113,9 @@ private: |
| // For the inspector |
| CSSParserObserverWrapper* m_observerWrapper; |
| + |
| + const String& m_baseString; |
| + AtomicString m_variableName; |
|
Timothy Loh
2015/07/23 08:11:47
unused?
|
| }; |
| } // namespace blink |