Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl

Issue 2654403003: Added api_methods flag to CSSProperties.json5. (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 fcc96873039b6298e492b7600eb3a8c6e1e152ac..96c9f4cd66cf4bc34eac342bfc871120d76cdce8 100644
--- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl
@@ -15,8 +15,10 @@ class CSSParserContext;
class {{api_classname}} : public CSSPropertyAPI {
public:
+ {% if "parseSingleValue" in api_methods %}
static const CSSValue* parseSingleValue(CSSParserTokenRange&,
const CSSParserContext*);
+ {% endif %}
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698