| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5 b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d30344ce51a6e36e6e9e5c7812ee7e10cd8ee6c3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5
|
| @@ -0,0 +1,39 @@
|
| +{
|
| + // This file specifies all the methods in CSSPropertyAPI.h and the necessary
|
| + // information for code generation of the API and it's related classes.
|
| + parameters: {
|
| + // - name
|
| + // The name of this method in camel case.
|
| + name: {
|
| + default: "",
|
| + valid_type: "str",
|
| + },
|
| +
|
| + // - return_type
|
| + // Return type of this method.
|
| + return_type: {
|
| + default: "",
|
| + valid_type: "str",
|
| + },
|
| +
|
| + // - parameters
|
| + // The parameters of this method. This string should be the types of
|
| + // all parameters, inside brackets and comma separated.
|
| + parameters: {
|
| + default: "",
|
| + valid_type: "str",
|
| + }
|
| + },
|
| + data: [
|
| + {
|
| + name: "parseSingleValue",
|
| + return_type: "const CSSValue*",
|
| + parameters: "(CSSParserTokenRange&, const CSSParserContext*)"
|
| + },
|
| + {
|
| + name: "parseShorthand",
|
| + return_type: "bool",
|
| + parameters: "(bool, CSSParserTokenRange&, const CSSParserContext*)"
|
| + },
|
| + ]
|
| +}
|
|
|