| Index: third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.h.tmpl
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.h.tmpl
|
| similarity index 77%
|
| rename from third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
|
| rename to third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.h.tmpl
|
| index e44adfb185c11e76eda45227b19fe426d886eac7..6012ba22efaeaa6dd49be747d8c349e74a827938 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.h.tmpl
|
| @@ -12,9 +12,9 @@ class CSSParserContext;
|
|
|
| // Stores function pointers matching those declared in CSSPropertyAPI.
|
| struct CSSPropertyDescriptor {
|
| - const CSSValue* (*parseSingleValue)(CSSParserTokenRange&,
|
| - const CSSParserContext*);
|
| - bool (*parseShorthand)(bool, CSSParserTokenRange&, const CSSParserContext*);
|
| + {% for api_method_name in ordered_api_method_names %}
|
| + {{all_api_methods[api_method_name].return_type}} (*{{api_method_name}}){{all_api_methods[api_method_name].parameters}};
|
| + {% endfor %}
|
|
|
| // Returns the corresponding CSSPropertyDescriptor for a given CSSPropertyID.
|
| // Use this function to access the API for a property. Returns a descriptor
|
|
|