OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CSSPropertyCounterUtils_h |
| 6 #define CSSPropertyCounterUtils_h |
| 7 |
| 8 #include "wtf/Allocator.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class CSSParserTokenRange; |
| 13 class CSSValue; |
| 14 |
| 15 enum class CounterDefaultValue : int { kReset, kIncrement }; |
| 16 |
| 17 class CSSPropertyCounterUtils { |
| 18 STATIC_ONLY(CSSPropertyCounterUtils); |
| 19 |
| 20 static CSSValue* consumeCounter(CSSParserTokenRange&, CounterDefaultValue); |
| 21 }; |
| 22 |
| 23 } // namespace blink |
| 24 |
| 25 #endif // CSSPropertyCounterUtils_h |
OLD | NEW |