| 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 CSSPropertyCounterUtils_h | 5 #ifndef CSSPropertyCounterUtils_h |
| 6 #define CSSPropertyCounterUtils_h | 6 #define CSSPropertyCounterUtils_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 CSSPropertyCounterUtils { | 15 class CSSPropertyCounterUtils { |
| 16 STATIC_ONLY(CSSPropertyCounterUtils); | 16 STATIC_ONLY(CSSPropertyCounterUtils); |
| 17 | 17 |
| 18 static const int kResetDefaultValue = 0; | 18 static const int kResetDefaultValue = 0; |
| 19 static const int kIncrementDefaultValue = 1; | 19 static const int kIncrementDefaultValue = 1; |
| 20 | 20 |
| 21 static CSSValue* ConsumeCounter(CSSParserTokenRange&, int); | 21 static CSSValue* ConsumeCounter(CSSParserTokenRange&, int); |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 } // namespace blink | 24 } // namespace blink |
| 25 | 25 |
| 26 #endif // CSSPropertyCounterUtils_h | 26 #endif // CSSPropertyCounterUtils_h |
| OLD | NEW |