| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CSSParserImpl_h | 5 #ifndef CSSParserImpl_h |
| 6 #define CSSParserImpl_h | 6 #define CSSParserImpl_h |
| 7 | 7 |
| 8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
| 9 #include "core/css/CSSProperty.h" | 9 #include "core/css/CSSProperty.h" |
| 10 #include "core/css/CSSPropertySourceData.h" | 10 #include "core/css/CSSPropertySourceData.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 void consumeDeclarationList(CSSParserTokenRange, StyleRule::RuleType); | 106 void consumeDeclarationList(CSSParserTokenRange, StyleRule::RuleType); |
| 107 void consumeDeclaration(CSSParserTokenRange, StyleRule::RuleType); | 107 void consumeDeclaration(CSSParserTokenRange, StyleRule::RuleType); |
| 108 void consumeDeclarationValue(CSSParserTokenRange, CSSPropertyID, bool import
ant, StyleRule::RuleType); | 108 void consumeDeclarationValue(CSSParserTokenRange, CSSPropertyID, bool import
ant, StyleRule::RuleType); |
| 109 void consumeVariableValue(CSSParserTokenRange, const AtomicString& propertyN
ame, bool important); | 109 void consumeVariableValue(CSSParserTokenRange, const AtomicString& propertyN
ame, bool important); |
| 110 | 110 |
| 111 static PassOwnPtr<Vector<double>> consumeKeyframeKeyList(CSSParserTokenRange
); | 111 static PassOwnPtr<Vector<double>> consumeKeyframeKeyList(CSSParserTokenRange
); |
| 112 | 112 |
| 113 // FIXME: Can we build StylePropertySets directly? | 113 // FIXME: Can we build StylePropertySets directly? |
| 114 // FIXME: Investigate using a smaller inline buffer | 114 // FIXME: Investigate using a smaller inline buffer |
| 115 HeapVector<CSSProperty, 256> m_parsedProperties; | 115 HeapVector<CSSProperty, 256> m_parsedProperties; |
| 116 CSSParserContext m_context; | 116 const CSSParserContext& m_context; |
| 117 | 117 |
| 118 Member<StyleSheetContents> m_styleSheet; | 118 Member<StyleSheetContents> m_styleSheet; |
| 119 | 119 |
| 120 // For the inspector | 120 // For the inspector |
| 121 CSSParserObserverWrapper* m_observerWrapper; | 121 CSSParserObserverWrapper* m_observerWrapper; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace blink | 124 } // namespace blink |
| 125 | 125 |
| 126 #endif // CSSParserImpl_h | 126 #endif // CSSParserImpl_h |
| OLD | NEW |