Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyCounterUtils.h

Issue 2772263004: Added CSSPropertyCounterUtils which holds shared counter parsing logic. (Closed)
Patch Set: addressed reviewer comment Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 class CSSPropertyCounterUtils {
16 STATIC_ONLY(CSSPropertyCounterUtils);
17
18 static const int kResetDefaultValue = 0;
19 static const int kIncrementDefaultValue = 1;
20
21 static CSSValue* consumeCounter(CSSParserTokenRange&, int);
22 };
23
24 } // namespace blink
25
26 #endif // CSSPropertyCounterUtils_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698