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

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

Issue 1383093002: [bindings] support legacyiterable<> WebIDL syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: third_party/WebKit/Source/bindings/scripts/idl_definitions.py
diff --git a/third_party/WebKit/Source/bindings/scripts/idl_definitions.py b/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
index 6f67f8ebe0d0bd42eda01ea9b0af6f5f395e8491..d8472d74c243a3671781069b412b41a59a668780 100644
--- a/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
+++ b/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
@@ -286,6 +286,7 @@ class IdlInterface(object):
self.serializer = None
self.stringifier = None
self.iterable = None
+ self.legacyiterable = None
self.maplike = None
self.setlike = None
self.original_interface = None
@@ -326,6 +327,8 @@ class IdlInterface(object):
self.process_stringifier()
elif child_class == 'Iterable':
self.iterable = IdlIterable(idl_name, child)
+ elif child_class == 'LegacyIterable':
+ self.legacyiterable = IdlIterable(idl_name, child)
elif child_class == 'Maplike':
self.maplike = IdlMaplike(idl_name, child)
elif child_class == 'Setlike':

Powered by Google App Engine
This is Rietveld 408576698