| Index: third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
|
| index f379771514ae83b1687de26ba7ae6acbb7bbf70d..14fd77677d777fd9e83fd64d7ff9c4be8abd26ea 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
|
| @@ -15,15 +15,9 @@ class CSSParserContext;
|
|
|
| class {{api_classname}} : public CSSPropertyAPI {
|
| public:
|
| - {% if "parseSingleValue" in api_methods %}
|
| - static const CSSValue* parseSingleValue(CSSParserTokenRange&,
|
| - const CSSParserContext*);
|
| - {% endif %}
|
| - {% if "parseShorthand" in api_methods %}
|
| - static HeapVector<CSSProperty>* parseShorthand(bool,
|
| - CSSParserTokenRange&,
|
| - const CSSParserContext*);
|
| - {% endif %}
|
| + {% for api_method in all_api_methods if api_method in methods_for_class %}
|
| + static {{all_api_methods[api_method].return_type}} {{api_method}}{{all_api_methods[api_method].parameters}};
|
| + {% endfor %}
|
| };
|
|
|
| } // namespace blink
|
|
|