OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CSSPropertyParserHelpers_h | 5 #ifndef CSSPropertyParserHelpers_h |
6 #define CSSPropertyParserHelpers_h | 6 #define CSSPropertyParserHelpers_h |
7 | 7 |
8 #include "core/css/CSSCustomIdentValue.h" | 8 #include "core/css/CSSCustomIdentValue.h" |
9 #include "core/css/CSSIdentifierValue.h" | 9 #include "core/css/CSSIdentifierValue.h" |
10 #include "core/css/CSSPrimitiveValue.h" | 10 #include "core/css/CSSPrimitiveValue.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 do { | 148 do { |
149 CSSValue* value = callback(range, args...); | 149 CSSValue* value = callback(range, args...); |
150 if (!value) | 150 if (!value) |
151 return nullptr; | 151 return nullptr; |
152 list->Append(*value); | 152 list->Append(*value); |
153 } while (ConsumeCommaIncludingWhitespace(range)); | 153 } while (ConsumeCommaIncludingWhitespace(range)); |
154 DCHECK(list->length()); | 154 DCHECK(list->length()); |
155 return list; | 155 return list; |
156 } | 156 } |
157 | 157 |
| 158 CSSValue* ConsumeTransformList(CSSParserTokenRange&, const CSSParserContext&); |
| 159 |
158 } // namespace CSSPropertyParserHelpers | 160 } // namespace CSSPropertyParserHelpers |
159 | 161 |
160 } // namespace blink | 162 } // namespace blink |
161 | 163 |
162 #endif // CSSPropertyParserHelpers_h | 164 #endif // CSSPropertyParserHelpers_h |
OLD | NEW |