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

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

Issue 2669243009: Added CSSPropertyAPIMethods.json5 which defines all API methods. (Closed)
Patch Set: renames and formatting 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 unified diff | Download patch
OLDNEW
(Empty)
1 {
2 // This file specifies all the methods in CSSPropertyAPI.h and the neces sary
3 // information for code generation of the API and it's related classes.
4 parameters: {
5 name: {
6 default: "",
7 valid_type: "str",
8 },
9
10 signature: {
11 default: "",
12 valid_type: "str",
13 },
14
15 function_ptr: {
16 default: "",
17 valid_type: "str",
18 }
19 },
20 data: [
21 {
22 name: "parseSingleValue",
23 signature: "static const CSSValue* parseSingleValue(CSSParserT okenRange&, const CSSParserContext*);",
sashab 2017/02/09 04:57:51 We should make these all consistent, ie: - no stat
24 function_ptr: "static const CSSValue* (*parseSingleValue)(CSSP arserTokenRange&, const CSSParserContext*);"
25 },
sashab 2017/02/09 04:57:51 If we had: { name: "parseSingleValue",
aazzam 2017/02/09 23:10:12 done :) I've put the logic for combining the strin
26 {
27 name: "parseShorthand",
28 signature: "static bool parseShorthand(bool, CSSParserTokenRan ge&, const CSSParserContext*)",
29 function_ptr: "bool (*parseShorthand)(bool, CSSParserTokenRang e&, const CSSParserContext*);"
30 },
31 ]
32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698