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

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

Issue 2647623002: Added CSSPropertyBackgroundComponentUtils which holds background component parsing methods. (Closed)
Patch Set: merge Created 3 years, 11 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698