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

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

Issue 2202453002: Remove the CSS Properties API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More removals Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 CSSPropertyFunctions_h
6 #define CSSPropertyFunctions_h
7
8 #include "core/CSSPropertyNames.h"
9 #include "core/css/CSSValue.h"
10 #include "wtf/PassRefPtr.h"
11
12 namespace blink {
13
14 class CSSParserContext;
15 class CSSParserTokenRange;
16
17 // The parent class for all properties that implement the CSSPropertyDescriptor API.
18 // Contains static function signatures as a reference of what needs to be implem ented
19 // in the child classes.
20 class CSSPropertyFunctions {
21 STATIC_ONLY(CSSPropertyFunctions);
22 public:
23 static CSSPropertyID id();
24
25 // Consumes and parses a single value for this property from by the token ra nge,
26 // returning the corresponding CSSValue. This function does not check for th e end
27 // of the token range. Returns nullptr if the input is invalid.
28 static CSSValue* parseSingleValue(CSSParserTokenRange&, const CSSParserConte xt&);
29 using parseSingleValueFunction = decltype(&parseSingleValue);
30 };
31
32 } // namespace blink
33
34 #endif // CSSPropertyFunctions_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698