| 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 CSSParser_h | 5 #ifndef CSSParser_h |
| 6 #define CSSParser_h | 6 #define CSSParser_h |
| 7 | 7 |
| 8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
| 9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "core/css/CSSValue.h" | 10 #include "core/css/CSSValue.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 static bool parseValue(MutableStylePropertySet*, | 50 static bool parseValue(MutableStylePropertySet*, |
| 51 CSSPropertyID unresolvedProperty, | 51 CSSPropertyID unresolvedProperty, |
| 52 const String&, | 52 const String&, |
| 53 bool important, | 53 bool important, |
| 54 StyleSheetContents*); | 54 StyleSheetContents*); |
| 55 | 55 |
| 56 static bool parseValueForCustomProperty(MutableStylePropertySet*, | 56 static bool parseValueForCustomProperty(MutableStylePropertySet*, |
| 57 const AtomicString& propertyName, | 57 const AtomicString& propertyName, |
| 58 const String& value, | 58 const String& value, |
| 59 bool important, | 59 bool important, |
| 60 StyleSheetContents*); | 60 StyleSheetContents*, |
| 61 bool isAnimationTainted); |
| 61 static ImmutableStylePropertySet* parseCustomPropertySet(CSSParserTokenRange); | 62 static ImmutableStylePropertySet* parseCustomPropertySet(CSSParserTokenRange); |
| 62 | 63 |
| 63 // This is for non-shorthands only | 64 // This is for non-shorthands only |
| 64 static const CSSValue* parseSingleValue( | 65 static const CSSValue* parseSingleValue( |
| 65 CSSPropertyID, | 66 CSSPropertyID, |
| 66 const String&, | 67 const String&, |
| 67 const CSSParserContext& = strictCSSParserContext()); | 68 const CSSParserContext& = strictCSSParserContext()); |
| 68 | 69 |
| 69 static const CSSValue* parseFontFaceDescriptor(CSSPropertyID, | 70 static const CSSValue* parseFontFaceDescriptor(CSSPropertyID, |
| 70 const String&, | 71 const String&, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 96 static bool parseValue(MutableStylePropertySet*, | 97 static bool parseValue(MutableStylePropertySet*, |
| 97 CSSPropertyID unresolvedProperty, | 98 CSSPropertyID unresolvedProperty, |
| 98 const String&, | 99 const String&, |
| 99 bool important, | 100 bool important, |
| 100 const CSSParserContext&); | 101 const CSSParserContext&); |
| 101 }; | 102 }; |
| 102 | 103 |
| 103 } // namespace blink | 104 } // namespace blink |
| 104 | 105 |
| 105 #endif // CSSParser_h | 106 #endif // CSSParser_h |
| OLD | NEW |