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..8bc27c5f87740a089ed057592840472819e33992 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 %} |
+ {{all_api_methods[api_method].signature}}; |
+ {% endfor %} |
}; |
} // namespace blink |