| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 static MutableStylePropertySet::SetResult parseValue(MutableStylePropertySet*, | 61 static MutableStylePropertySet::SetResult parseValue(MutableStylePropertySet*, |
| 62 CSSPropertyID, | 62 CSSPropertyID, |
| 63 const String&, | 63 const String&, |
| 64 bool important, | 64 bool important, |
| 65 const CSSParserContext&); | 65 const CSSParserContext&); |
| 66 static MutableStylePropertySet::SetResult parseVariableValue( | 66 static MutableStylePropertySet::SetResult parseVariableValue( |
| 67 MutableStylePropertySet*, | 67 MutableStylePropertySet*, |
| 68 const AtomicString& propertyName, | 68 const AtomicString& propertyName, |
| 69 const PropertyRegistry*, |
| 69 const String&, | 70 const String&, |
| 70 bool important, | 71 bool important, |
| 71 const CSSParserContext&, | 72 const CSSParserContext&, |
| 72 bool isAnimationTainted); | 73 bool isAnimationTainted); |
| 73 static ImmutableStylePropertySet* parseInlineStyleDeclaration(const String&, | 74 static ImmutableStylePropertySet* parseInlineStyleDeclaration(const String&, |
| 74 Element*); | 75 Element*); |
| 75 static bool parseDeclarationList(MutableStylePropertySet*, | 76 static bool parseDeclarationList(MutableStylePropertySet*, |
| 76 const String&, | 77 const String&, |
| 77 const CSSParserContext&); | 78 const CSSParserContext&); |
| 78 static StyleRuleBase* parseRule(const String&, | 79 static StyleRuleBase* parseRule(const String&, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 163 |
| 163 // For the inspector | 164 // For the inspector |
| 164 CSSParserObserverWrapper* m_observerWrapper; | 165 CSSParserObserverWrapper* m_observerWrapper; |
| 165 | 166 |
| 166 Member<CSSLazyParsingState> m_lazyState; | 167 Member<CSSLazyParsingState> m_lazyState; |
| 167 }; | 168 }; |
| 168 | 169 |
| 169 } // namespace blink | 170 } // namespace blink |
| 170 | 171 |
| 171 #endif // CSSParserImpl_h | 172 #endif // CSSParserImpl_h |
| OLD | NEW |