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

Unified Diff: third_party/WebKit/Source/build/scripts/make_css_property_apis.py

Issue 2706623004: Added CSSPropertyDescriptor.h.tmpl to generate CSSPropertyDescriptor.h. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.h.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698