DescriptionAdded CSSPropertyAPIMethods.json5 which defines all API methods.
Adds CSSPropertyAPIMethods.json5, which defines all methods in
CSSPropertyAPI.h. Methods are defined by name and function
definition.
This is so that when methods are added to the API, their
definitions only need to be added in this file, rather than
several places in the code.
This patch:
- Adds the CSSPropertyAPIMethods.json5 file.
- Changes make_css_property_apis.py so that it can take two files
as input (CSSProperties.json5 and CSSPropertyAPIMethods.json5).
- Modifies the CSSPropertyAPIFiles.h.tmpl template to take this as
input, so that it doesn't need to be modified whenever methods
are added to the API.
- Modifies CSSPropertyDescriptor.cpp.tmpl to take this as input.
BUG=668012
Patch Set 1 #Patch Set 2 : added all files #Patch Set 3 : Made dependent on CL to make _properties public #Patch Set 4 : Added comment #
Total comments: 9
Patch Set 5 : changed storing of api_methods #Patch Set 6 : changed storing of api methods #
Total comments: 6
Patch Set 7 : renames and formatting #
Total comments: 9
Patch Set 8 : changed the params of the methods json file #Patch Set 9 : removed accidental comma #
Total comments: 4
Patch Set 10 : added comments, renamed variables #
Total comments: 1
Patch Set 11 : added comment #Patch Set 12 : rebase #Patch Set 13 : rebase #Patch Set 14 : testing changing template for scripts #Patch Set 15 : changed to inherit from make_style_builder #
Total comments: 4
Patch Set 16 : changed to make_style_builder #Patch Set 17 : moved code around #Depends on Patchset: Messages
Total messages: 48 (35 generated)
|