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

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_interface.py

Issue 2568403002: [Bindings][Refactoring] Remove attribute filters from .tmpl files (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/bindings/scripts/v8_interface.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_interface.py b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
index a9a7acf97bd920888f8a06ef664c9558738a2d4c..1f7ab537dcb7f25dd709670ea9d73499d1966d62 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_interface.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
@@ -371,6 +371,12 @@ def interface_context(interface, interfaces):
context.update({
'attributes': attributes,
+ # Elements in attributes are broken in following members.
+ 'accessors': v8_attributes.filter_accessors(attributes),
+ 'data_attributes': v8_attributes.filter_data_attributes(attributes),
+ 'lazy_data_attributes': v8_attributes.filter_lazy_data_attributes(attributes),
+ 'origin_trial_attributes': v8_attributes.filter_origin_trial_enabled(attributes),
+ 'runtime_enabled_attributes': v8_attributes.filter_runtime_enabled(attributes),
})
# Methods

Powered by Google App Engine
This is Rietveld 408576698