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 CSSPropertyAlignmentUtils_h | 5 #ifndef CSSPropertyAlignmentUtils_h |
6 #define CSSPropertyAlignmentUtils_h | 6 #define CSSPropertyAlignmentUtils_h |
7 | 7 |
8 #include "core/css/CSSIdentifierValue.h" | |
8 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
9 | 10 |
10 namespace blink { | 11 namespace blink { |
11 | 12 |
12 class CSSParserTokenRange; | 13 class CSSParserTokenRange; |
13 class CSSValue; | 14 class CSSValue; |
14 | 15 |
15 class CSSPropertyAlignmentUtils { | 16 class CSSPropertyAlignmentUtils { |
16 STATIC_ONLY(CSSPropertyAlignmentUtils); | 17 STATIC_ONLY(CSSPropertyAlignmentUtils); |
17 | 18 |
19 static bool isContentDistributionKeyword(CSSValueID); | |
20 static bool isContentPositionKeyword(CSSValueID); | |
21 static bool isBaselineKeyword(CSSValueID); | |
22 static bool isOverflowKeyword(CSSValueID); | |
Bugs Nash
2017/03/29 02:01:01
this one doesn't need to be made public either way
jfernandez
2017/03/29 10:43:10
Ok.
| |
23 static CSSIdentifierValue* consumeSelfPositionKeyword(CSSParserTokenRange&); | |
Bugs Nash
2017/03/29 02:01:01
as above
jfernandez
2017/03/29 10:43:10
Ok, but I think we will need it for implementing t
| |
24 static CSSValue* consumeBaselineKeyword(CSSParserTokenRange&); | |
25 static CSSValueID getBaselineKeyword(CSSValue&); | |
26 | |
18 static CSSValue* consumeSelfPositionOverflowPosition(CSSParserTokenRange&); | 27 static CSSValue* consumeSelfPositionOverflowPosition(CSSParserTokenRange&); |
19 static CSSValue* consumeContentDistributionOverflowPosition( | 28 static CSSValue* consumeContentDistributionOverflowPosition( |
20 CSSParserTokenRange&); | 29 CSSParserTokenRange&); |
21 }; | 30 }; |
22 | 31 |
23 } // namespace blink | 32 } // namespace blink |
24 | 33 |
25 #endif // CSSPropertyAlignmentUtils_h | 34 #endif // CSSPropertyAlignmentUtils_h |
OLD | NEW |