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

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

Issue 2668093003: Revert of Added api_methods flag to CSSProperties.json5. (Closed)
Patch Set: Created 3 years, 11 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/CSSPropertyAPIFiles.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 bc21273f746b5db0fab280b4f03149891e0128ae..35ee4a2bb4944b2127cf5ce56f14a3296dd057d4 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
@@ -10,6 +10,7 @@
import make_style_builder
from collections import namedtuple, defaultdict
+
# Gets the classname for a given property.
def get_classname(property):
@@ -36,7 +37,7 @@
continue
classname = get_classname(property)
properties_for_class[classname].append(property['property_id'])
- self._outputs[classname + '.h'] = self.generate_property_api_h_builder(classname, property['api_methods'])
+ self._outputs[classname + '.h'] = self.generate_property_api_h_builder(classname)
# Stores a list of classes with elements (index, classname, [propertyIDs, ..]).
self._api_classes = []
@@ -57,12 +58,11 @@
# Provides a function object given the classname of the property.
# This returned function generates a .h file for the specified property.
- def generate_property_api_h_builder(self, api_classname, api_methods):
+ def generate_property_api_h_builder(self, api_classname):
@template_expander.use_jinja('CSSPropertyAPIFiles.h.tmpl')
def generate_property_api_h():
return {
'api_classname': api_classname,
- 'api_methods': api_methods,
}
return generate_property_api_h
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698