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 CSSPropertyBackgroundComponentUtils_h |
| 6 #define CSSPropertyBackgroundComponentUtils_h |
| 7 |
| 8 #include "core/CSSPropertyNames.h" |
| 9 #include "core/css/parser/CSSParserContext.h" |
| 10 |
| 11 #include "wtf/Allocator.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class CSSParserTokenRange; |
| 16 class CSSValue; |
| 17 |
| 18 class CSSPropertyBackgroundComponentUtils { |
| 19 STATIC_ONLY(CSSPropertyBackgroundComponentUtils); |
| 20 |
| 21 static CSSValue* consumeBackgroundSize(CSSPropertyID unresolvedProperty, |
| 22 CSSParserTokenRange&, |
| 23 CSSParserMode); |
| 24 |
| 25 static void addBackgroundValue(CSSValue*& list, CSSValue*); |
| 26 |
| 27 static CSSValue* consumeBackgroundComponent(CSSPropertyID unresolvedProperty, |
| 28 CSSParserTokenRange&, |
| 29 const CSSParserContext*); |
| 30 }; |
| 31 |
| 32 } // namespace blink |
| 33 |
| 34 #endif // CSSPropertyBackgroundComponentUtils_h |
OLD | NEW |