| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CSSPropertyShapeUtils_h | 5 #ifndef CSSPropertyShapeUtils_h |
| 6 #define CSSPropertyShapeUtils_h | 6 #define CSSPropertyShapeUtils_h |
| 7 | 7 |
| 8 #include "core/css/parser/CSSParserMode.h" | 8 #include "core/css/parser/CSSParserMode.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class CSSValue; | 13 class CSSValue; |
| 14 class CSSParserContext; | 14 class CSSParserContext; |
| 15 class CSSParserTokenRange; | 15 class CSSParserTokenRange; |
| 16 | 16 |
| 17 class CSSPropertyShapeUtils { | 17 class CSSPropertyShapeUtils { |
| 18 STATIC_ONLY(CSSPropertyShapeUtils); | 18 STATIC_ONLY(CSSPropertyShapeUtils); |
| 19 | 19 |
| 20 static CSSValue* ConsumeBasicShape(CSSParserTokenRange&, | 20 static CSSValue* ConsumeBasicShape(CSSParserTokenRange&, |
| 21 const CSSParserContext*); | 21 const CSSParserContext*); |
| 22 static bool ConsumeRadii(CSSValue* horizontal_radii[4], | 22 static bool ConsumeRadii(CSSValue* horizontal_radii[4], |
| 23 CSSValue* vertical_radii[4], | 23 CSSValue* vertical_radii[4], |
| 24 CSSParserTokenRange&, | 24 CSSParserTokenRange&, |
| 25 CSSParserMode, | 25 CSSParserMode, |
| 26 bool use_legacy_parsing); | 26 bool use_legacy_parsing); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace blink | 29 } // namespace blink |
| 30 | 30 |
| 31 #endif // CSSPropertyShapeUtils_h | 31 #endif // CSSPropertyShapeUtils_h |
| OLD | NEW |