Index: third_party/WebKit/Source/build/scripts/make_css_property_apis.py |
diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_apis.py b/third_party/WebKit/Source/build/scripts/make_css_property_apis.py |
index ed317cd863c0c38d5d56ae14d4f42c52cb46ff28..5b5376b29f74ea58b7254baf9e7e712098309fe3 100755 |
--- a/third_party/WebKit/Source/build/scripts/make_css_property_apis.py |
+++ b/third_party/WebKit/Source/build/scripts/make_css_property_apis.py |
@@ -44,6 +44,7 @@ class CSSPropertyAPIWriter(StyleBuilderWriter): |
self._outputs = { |
'CSSPropertyDescriptor.cpp': self.generate_property_descriptor_cpp, |
+ 'CSSPropertyDescriptor.h': self.generate_property_descriptor_h, |
'CSSPropertyAPI.h': self.generate_property_api, |
} |
@@ -93,6 +94,13 @@ class CSSPropertyAPIWriter(StyleBuilderWriter): |
'ordered_api_method_names': self.ordered_api_method_names, |
} |
+ @template_expander.use_jinja('CSSPropertyDescriptor.h.tmpl') |
+ def generate_property_descriptor_h(self): |
+ return { |
+ 'ordered_api_method_names': self.ordered_api_method_names, |
+ 'all_api_methods': self.all_api_methods, |
+ } |
+ |
@template_expander.use_jinja('CSSPropertyAPI.h.tmpl') |
def generate_property_api(self): |
return { |