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