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..cf9e78d777d52f4dec04c192fdccfe2cb966a619 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 api_methods if api_classname in api_method['classnames'] %} |
sashab
2017/02/08 04:00:03
{% for api_method_name in property['api_methods']
|
+ {{api_method['definition']}} |
sashab
2017/02/08 04:00:03
self.all_api_methods[api_method_name]['definition'
|
+ {% endfor %} |
}; |
} // namespace blink |