DescriptionMakes descriptors hold nullptr for properties not implemented in API.
A part of Project Ribbon, separating the parsing logic for CSS
properties from the parser into an API.
This patch modifies make_css_property_apis.py and
CSSPropertyDescriptor.cpp.tmpl so that when the descriptors for a
property are initialised, properties that are not implemented are
set to nullptr. This removes the need for temporaryCanReadValue in
the descriptor struct.
The template is also changed so that it does not need to be modified
when new methods are added to the API.
BUG=668012
Review-Url: https://codereview.chromium.org/2670433002
Cr-Commit-Position: refs/heads/master@{#447984}
Committed: https://chromium.googlesource.com/chromium/src/+/d3b69783512361d59dade39d8e7a0812c8a2b32a
Patch Set 1 #
Total comments: 5
Patch Set 2 : Some formatting and rebase #
Total comments: 1
Patch Set 3 : removed space #
Total comments: 17
Patch Set 4 : Neatened up code #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 27 (13 generated)
|