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/StylePropertySet.h" | 10 #include "core/css/StylePropertySet.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 static MutableStylePropertySet::SetResult parseValue( | 50 static MutableStylePropertySet::SetResult parseValue( |
51 MutableStylePropertySet*, | 51 MutableStylePropertySet*, |
52 CSSPropertyID unresolvedProperty, | 52 CSSPropertyID unresolvedProperty, |
53 const String&, | 53 const String&, |
54 bool important, | 54 bool important, |
55 StyleSheetContents*); | 55 StyleSheetContents*); |
56 | 56 |
57 static MutableStylePropertySet::SetResult parseValueForCustomProperty( | 57 static MutableStylePropertySet::SetResult parseValueForCustomProperty( |
58 MutableStylePropertySet*, | 58 MutableStylePropertySet*, |
59 const AtomicString& propertyName, | 59 const AtomicString& propertyName, |
| 60 const PropertyRegistry*, |
60 const String& value, | 61 const String& value, |
61 bool important, | 62 bool important, |
62 StyleSheetContents*, | 63 StyleSheetContents*, |
63 bool isAnimationTainted); | 64 bool isAnimationTainted); |
64 static ImmutableStylePropertySet* parseCustomPropertySet(CSSParserTokenRange); | 65 static ImmutableStylePropertySet* parseCustomPropertySet(CSSParserTokenRange); |
65 | 66 |
66 // This is for non-shorthands only | 67 // This is for non-shorthands only |
67 static const CSSValue* parseSingleValue( | 68 static const CSSValue* parseSingleValue( |
68 CSSPropertyID, | 69 CSSPropertyID, |
69 const String&, | 70 const String&, |
(...skipping 30 matching lines...) Expand all Loading... |
100 MutableStylePropertySet*, | 101 MutableStylePropertySet*, |
101 CSSPropertyID unresolvedProperty, | 102 CSSPropertyID unresolvedProperty, |
102 const String&, | 103 const String&, |
103 bool important, | 104 bool important, |
104 const CSSParserContext&); | 105 const CSSParserContext&); |
105 }; | 106 }; |
106 | 107 |
107 } // namespace blink | 108 } // namespace blink |
108 | 109 |
109 #endif // CSSParser_h | 110 #endif // CSSParser_h |
OLD | NEW |