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 <memory> | 8 #include <memory> |
9 #include "core/CSSPropertyNames.h" | 9 #include "core/CSSPropertyNames.h" |
10 #include "core/css/CSSProperty.h" | 10 #include "core/css/CSSProperty.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 const String&, | 77 const String&, |
78 const CSSParserContext*); | 78 const CSSParserContext*); |
79 static StyleRuleBase* ParseRule(const String&, | 79 static StyleRuleBase* ParseRule(const String&, |
80 const CSSParserContext*, | 80 const CSSParserContext*, |
81 StyleSheetContents*, | 81 StyleSheetContents*, |
82 AllowedRulesType); | 82 AllowedRulesType); |
83 static void ParseStyleSheet(const String&, | 83 static void ParseStyleSheet(const String&, |
84 const CSSParserContext*, | 84 const CSSParserContext*, |
85 StyleSheetContents*, | 85 StyleSheetContents*, |
86 bool defer_property_parsing = false); | 86 bool defer_property_parsing = false); |
87 static CSSSelectorList ParsePageSelector(const CSSParserContext&, | 87 static CSSSelectorList ParsePageSelector(CSSParserTokenRange, |
88 CSSParserTokenRange, | |
89 StyleSheetContents*); | 88 StyleSheetContents*); |
90 | 89 |
91 static ImmutableStylePropertySet* ParseCustomPropertySet(CSSParserTokenRange); | 90 static ImmutableStylePropertySet* ParseCustomPropertySet(CSSParserTokenRange); |
92 | 91 |
93 static std::unique_ptr<Vector<double>> ParseKeyframeKeyList(const String&); | 92 static std::unique_ptr<Vector<double>> ParseKeyframeKeyList(const String&); |
94 | 93 |
95 bool SupportsDeclaration(CSSParserTokenRange&); | 94 bool SupportsDeclaration(CSSParserTokenRange&); |
96 | 95 |
97 static void ParseDeclarationListForInspector(const String&, | 96 static void ParseDeclarationListForInspector(const String&, |
98 const CSSParserContext*, | 97 const CSSParserContext*, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 163 |
165 // For the inspector | 164 // For the inspector |
166 CSSParserObserverWrapper* observer_wrapper_; | 165 CSSParserObserverWrapper* observer_wrapper_; |
167 | 166 |
168 Member<CSSLazyParsingState> lazy_state_; | 167 Member<CSSLazyParsingState> lazy_state_; |
169 }; | 168 }; |
170 | 169 |
171 } // namespace blink | 170 } // namespace blink |
172 | 171 |
173 #endif // CSSParserImpl_h | 172 #endif // CSSParserImpl_h |
OLD | NEW |