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

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

Issue 19789017: Regenerate dart:html from new Blink IDL files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More fixes Created 7 years, 5 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 | « tools/dom/scripts/fremontcutbuilder.py ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/generator.py
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
index 829043302fbe57f39a02fa3a7525ff572c8eafe0..3e75fa770db25dab6d60c55a4a99e2bb6c0602e2 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -17,14 +17,11 @@ _pure_interfaces = monitored.Set('generator._pure_interfaces', [
# TODO(sra): DOMStringMap should be a class implementing Map<String,String>.
'DOMStringMap',
'ChildNode',
- #'Crypto',
'ElementTimeControl',
- 'ElementTraversal',
'EventListener',
'MediaQueryListListener',
'MutationCallback',
'ParentNode',
- #'SubtleCrypto',
'SVGExternalResourcesRequired',
'SVGFilterPrimitiveStandardAttributes',
'SVGFitToViewBox',
@@ -36,7 +33,6 @@ _pure_interfaces = monitored.Set('generator._pure_interfaces', [
'SVGZoomAndPan',
'TimeoutHandler',
'WindowTimers',
- #'WorkerCrypto',
'WorkerPerformance',
])
@@ -997,12 +993,12 @@ _idl_type_registry = monitored.Dict('generator._idl_type_registry', {
'boolean': TypeData(clazz='Primitive', dart_type='bool', native_type='bool',
webcore_getter_name='hasAttribute',
webcore_setter_name='setBooleanAttribute'),
+ 'byte': TypeData(clazz='Primitive', dart_type='int', native_type='int'),
+ 'octet': TypeData(clazz='Primitive', dart_type='int', native_type='int'),
'short': TypeData(clazz='Primitive', dart_type='int', native_type='int'),
'unsigned short': TypeData(clazz='Primitive', dart_type='int',
native_type='int'),
'int': TypeData(clazz='Primitive', dart_type='int'),
- 'unsigned int': TypeData(clazz='Primitive', dart_type='int',
- native_type='unsigned'),
'long': TypeData(clazz='Primitive', dart_type='int', native_type='int',
webcore_getter_name='getIntegralAttribute',
webcore_setter_name='setIntegralAttribute'),
@@ -1018,6 +1014,7 @@ _idl_type_registry = monitored.Dict('generator._idl_type_registry', {
'any': TypeData(clazz='Primitive', dart_type='Object', native_type='ScriptValue'),
'Array': TypeData(clazz='Primitive', dart_type='List'),
'custom': TypeData(clazz='Primitive', dart_type='dynamic'),
+ 'union': TypeData(clazz='Primitive', dart_type='dynamic'),
'ClientRect': TypeData(clazz='Interface',
dart_type='Rect', suppress_interface=True),
'Date': TypeData(clazz='Primitive', dart_type='DateTime', native_type='double'),
@@ -1080,7 +1077,7 @@ _idl_type_registry = monitored.Dict('generator._idl_type_registry', {
suppress_interface=False, dart_type='List<Node>'),
'SVGElementInstanceList': TypeData(clazz='Interface',
item_type='SVGElementInstance', suppress_interface=True),
- 'WebKitSourceBufferList': TypeData(clazz='Interface', item_type='WebKitSourceBuffer'),
+ 'SourceBufferList': TypeData(clazz='Interface', item_type='SourceBuffer'),
'SpeechGrammarList': TypeData(clazz='Interface', item_type='SpeechGrammar'),
'SpeechInputResultList': TypeData(clazz='Interface',
item_type='SpeechInputResult', suppress_interface=True),
« no previous file with comments | « tools/dom/scripts/fremontcutbuilder.py ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698