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

Unified Diff: lib/dom/scripts/generator.py

Issue 10207019: Generate DartDOMStringList binding. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « lib/dom/idl/dart/dart.idl ('k') | lib/dom/src/DOMStringList.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/generator.py
diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
index 952f3181926be843f521d84fa61abeb3090c28a1..d7a2fe126b966bdf3aab202087d1a6bd270b1d64 100644
--- a/lib/dom/scripts/generator.py
+++ b/lib/dom/scripts/generator.py
@@ -10,7 +10,6 @@ import re
import string
_pure_interfaces = set([
- 'DOMStringList',
'DOMStringMap',
'ElementTimeControl',
'ElementTraversal',
@@ -638,12 +637,12 @@ _idl_type_registry = {
# http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#the-flags-interface
'WebKitFlags': PrimitiveIDLTypeInfo('WebKitFlags', dart_type='Object'),
- 'DOMStringList': PrimitiveIDLTypeInfo('DOMStringList', dart_type='List<String>'),
'sequence': PrimitiveIDLTypeInfo('sequence', dart_type='List'),
'void': PrimitiveIDLTypeInfo('void', dart_type='void'),
'CSSRule': IDLTypeInfo('CSSRule', conversion_includes=['CSSImportRule']),
'DOMException': IDLTypeInfo('DOMException', native_type='DOMCoreException'),
+ 'DOMStringList': IDLTypeInfo('DOMStringList', dart_type='List<String>', custom_to_native=True),
Anton Muhin 2012/04/24 18:28:03 I don't know if we ready to implement something li
podivilov 2012/04/24 18:47:31 I'm piggybacking on sequences support that we have
'DOMStringMap': IDLTypeInfo('DOMStringMap', dart_type='Map<String, String>'),
'DOMWindow': IDLTypeInfo('DOMWindow', custom_to_dart=True),
'Element': IDLTypeInfo('Element', custom_to_dart=True),
« no previous file with comments | « lib/dom/idl/dart/dart.idl ('k') | lib/dom/src/DOMStringList.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698