Index: third_party/WebKit/Source/core/css/properties/CSSPropertyBackgroundComponentUtils.h |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyBackgroundComponentUtils.h b/third_party/WebKit/Source/core/css/properties/CSSPropertyBackgroundComponentUtils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..40e35fb779304223902a4de56b2663688bd4d67f |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyBackgroundComponentUtils.h |
@@ -0,0 +1,34 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CSSPropertyBackgroundComponentUtils_h |
+#define CSSPropertyBackgroundComponentUtils_h |
+ |
+#include "core/CSSPropertyNames.h" |
+#include "core/css/parser/CSSParserContext.h" |
+ |
+#include "wtf/Allocator.h" |
+ |
+namespace blink { |
+ |
+class CSSParserTokenRange; |
+class CSSValue; |
+ |
+class CSSPropertyBackgroundComponentUtils { |
+ STATIC_ONLY(CSSPropertyBackgroundComponentUtils); |
+ |
+ static CSSValue* consumeBackgroundSize(CSSPropertyID unresolvedProperty, |
+ CSSParserTokenRange&, |
+ CSSParserMode); |
+ |
+ static void addBackgroundValue(CSSValue*& list, CSSValue*); |
+ |
+ static CSSValue* consumeBackgroundComponent(CSSPropertyID unresolvedProperty, |
+ CSSParserTokenRange&, |
+ const CSSParserContext*); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // CSSPropertyBackgroundComponentUtils_h |