| 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 CSSPropertyColumnUtils_h | 5 #ifndef CSSPropertyColumnUtils_h |
| 6 #define CSSPropertyColumnUtils_h | 6 #define CSSPropertyColumnUtils_h |
| 7 | 7 |
| 8 #include "wtf/Allocator.h" | 8 #include "platform/wtf/Allocator.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 class CSSParserTokenRange; | 12 class CSSParserTokenRange; |
| 13 class CSSValue; | 13 class CSSValue; |
| 14 | 14 |
| 15 class CSSPropertyColumnUtils { | 15 class CSSPropertyColumnUtils { |
| 16 STATIC_ONLY(CSSPropertyColumnUtils); | 16 STATIC_ONLY(CSSPropertyColumnUtils); |
| 17 | 17 |
| 18 static CSSValue* ConsumeColumnCount(CSSParserTokenRange&); | 18 static CSSValue* ConsumeColumnCount(CSSParserTokenRange&); |
| 19 | 19 |
| 20 static CSSValue* ConsumeColumnWidth(CSSParserTokenRange&); | 20 static CSSValue* ConsumeColumnWidth(CSSParserTokenRange&); |
| 21 | 21 |
| 22 static bool ConsumeColumnWidthOrCount(CSSParserTokenRange&, | 22 static bool ConsumeColumnWidthOrCount(CSSParserTokenRange&, |
| 23 CSSValue*&, | 23 CSSValue*&, |
| 24 CSSValue*&); | 24 CSSValue*&); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace blink | 27 } // namespace blink |
| 28 | 28 |
| 29 #endif // CSSPropertyColumnUtils_h | 29 #endif // CSSPropertyColumnUtils_h |
| OLD | NEW |