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

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

Issue 2808383008: Added unresolved property argument to ParseSingleValue method (Closed)
Patch Set: Created 3 years, 8 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
1 { 1 {
2 // This file specifies all the methods in CSSPropertyAPI.h and the necessary 2 // This file specifies all the methods in CSSPropertyAPI.h and the necessary
3 // information for code generation of the API and it's related classes. 3 // information for code generation of the API and it's related classes.
4 parameters: { 4 parameters: {
5 // - name 5 // - name
6 // The name of this method in camel case. 6 // The name of this method in camel case.
7 name: { 7 name: {
8 default: "", 8 default: "",
9 valid_type: "str", 9 valid_type: "str",
10 }, 10 },
(...skipping 18 matching lines...) Expand all
29 // placed in the code above the method definition in CSSPropertyAPI.h. 29 // placed in the code above the method definition in CSSPropertyAPI.h.
30 description: { 30 description: {
31 default: "", 31 default: "",
32 valid_type: "str", 32 valid_type: "str",
33 }, 33 },
34 }, 34 },
35 data: [ 35 data: [
36 { 36 {
37 name: "parseSingleValue", 37 name: "parseSingleValue",
38 return_type: "const CSSValue*", 38 return_type: "const CSSValue*",
39 parameters: "(CSSParserTokenRange&, const CSSParserContext&)", 39 parameters: "(CSSParserTokenRange&, const CSSParserContext&, CSSPropertyID )",
alancutter (OOO until 2018) 2017/04/13 04:47:12 Can we give this parameter a name?
40 description: "Parses a single CSS property and returns the corresponding C SSValue. If the input is invalid it returns nullptr.", 40 description: "Parses a single CSS property and returns the corresponding C SSValue. If the input is invalid it returns nullptr.",
41 }, 41 },
42 { 42 {
43 name: "parseShorthand", 43 name: "parseShorthand",
44 return_type: "bool", 44 return_type: "bool",
45 parameters: "(bool, CSSParserTokenRange&, const CSSParserContext*)", 45 parameters: "(bool, CSSParserTokenRange&, const CSSParserContext*)",
46 description: "Returns true if the property can be parsed as a shorthand.", 46 description: "Returns true if the property can be parsed as a shorthand.",
47 }, 47 },
48 ] 48 ]
49 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698