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 15301b98a6146ec4a30e6b360b68121e16413bb7..e041f241da20232c72b2049cf933eeeb099a0be1 100644 |
| --- a/Source/core/css/parser/CSSParserImpl.h |
| +++ b/Source/core/css/parser/CSSParserImpl.h |
| @@ -16,6 +16,7 @@ |
| namespace blink { |
| +class StyleRuleBase; |
| class ImmutableStylePropertySet; |
| class Element; |
| class MutableStylePropertySet; |
| @@ -27,8 +28,13 @@ public: |
| static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String&, bool important, const CSSParserContext&); |
| static PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> parseInlineStyleDeclaration(const String&, Element*); |
| static bool parseDeclaration(MutableStylePropertySet*, const String&, const CSSParserContext&); |
| + static PassRefPtrWillBeRawPtr<StyleRuleBase> parseRule(const String&, const CSSParserContext&); |
| private: |
| + // These two functions update the range they're given |
| + PassRefPtrWillBeRawPtr<StyleRuleBase> consumeAtRule(CSSParserTokenRange&); |
|
Timothy Loh
2014/12/16 00:01:20
Eventually these two will take an enum along the l
|
| + PassRefPtrWillBeRawPtr<StyleRuleBase> consumeQualifiedRule(CSSParserTokenRange&); |
| + |
| // FIXME: We should use a CSSRule::Type here |
| void consumeDeclarationList(CSSParserTokenRange, CSSRuleSourceData::Type); |
| void consumeDeclaration(CSSParserTokenRange, CSSRuleSourceData::Type); |