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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5

Issue 2669243009: Added CSSPropertyAPIMethods.json5 which defines all API methods. (Closed)
Patch Set: changed storing of api methods Created 3 years, 10 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/core/css/properties/CSSPropertyAPIMethods.json5
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5 b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5
new file mode 100644
index 0000000000000000000000000000000000000000..e562e71c41d4042060be340ab31f0e6807f3a03a
--- /dev/null
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMethods.json5
@@ -0,0 +1,32 @@
+{
+ // This file specifies all the methods in CSSPropertyAPI.h and the necessary
+ // information for code generation of the API and it's related classes.
+ parameters: {
+ name: {
+ default: "",
+ valid_type: "str",
+ },
+
+ signature: {
+ default: "",
+ valid_type: "str",
+ },
+
+ function_ptr: {
+ default: "",
+ valid_type: "str",
+ }
+ },
+ data: [
+ {
+ name: "parseSingleValue",
sashab 2017/02/09 04:36:28 Fix indentation
+ signature: "static const CSSValue* parseSingleValue(CSSParserTokenRange&, const CSSParserContext*);",
+ function_ptr: "static const CSSValue* (*parseSingleValue)(CSSParserTokenRange&, const CSSParserContext*);"
+ },
+ {
+ name: "parseShorthand",
+ signature: "static bool parseShorthand(bool, CSSParserTokenRange&, const CSSParserContext*)",
+ function_ptr: "bool (*parseShorthand)(bool, CSSParserTokenRange&, const CSSParserContext*);"
+ },
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698