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

Side by Side Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5

Issue 2669243009: Added CSSPropertyAPIMethods.json5 which defines all API methods. (Closed)
Patch Set: changed to inherit from make_style_builder Created 3 years, 10 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 {
2 // This file specifies all the methods in CSSPropertyAPI.h and the neces sary
3 // information for code generation of the API and it's related classes.
4 parameters: {
5 // - name
6 // The name of this method in camel case.
7 name: {
8 default: "",
9 valid_type: "str",
10 },
11
12 // - return_type
13 // Return type of this method.
14 return_type: {
15 default: "",
16 valid_type: "str",
17 },
18
19 // - parameters
20 // The parameters of this method. This string should be the type s of
21 // all parameters, inside brackets and comma separated.
22 parameters: {
23 default: "",
24 valid_type: "str",
25 }
26 },
27 data: [
28 {
29 name: "parseSingleValue",
30 return_type: "const CSSValue*",
31 parameters: "(CSSParserTokenRange&, const CSSParserContext*)"
32 },
33 {
34 name: "parseShorthand",
35 return_type: "bool",
36 parameters: "(bool, CSSParserTokenRange&, const CSSParserConte xt*)"
37 },
38 ]
39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698