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

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

Issue 10211003: Roll IDL to multivm@439 (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/frog/dom_frog.dart ('k') | lib/html/dartium/html_dartium.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 f5f0fb1ab8f1c87c4ed484dc425c4195250aaa52..7e91550dcf84fd4946ee3f9fd55a89260f20e456 100644
--- a/lib/dom/scripts/generator.py
+++ b/lib/dom/scripts/generator.py
@@ -621,7 +621,9 @@ _idl_type_registry = {
'Date': PrimitiveIDLTypeInfo('Date', dart_type='Date', native_type='double'),
'DOMObject': PrimitiveIDLTypeInfo('DOMObject', dart_type='Object', native_type='ScriptValue'),
'DOMString': PrimitiveIDLTypeInfo('DOMString', dart_type='String', native_type='String'),
- 'Dictionary': PrimitiveIDLTypeInfo('Dictionary', dart_type='Dictionary'),
+ # TODO(vsm): This won't actually work until we convert the Map to
+ # a native JS Map for JS DOM.
+ 'Dictionary': PrimitiveIDLTypeInfo('Dictionary', dart_type='Map'),
# TODO(sra): Flags is really a dictionary: {create:bool, exclusive:bool}
# http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#the-flags-interface
'Flags': PrimitiveIDLTypeInfo('Flags', dart_type='Object'),
« no previous file with comments | « lib/dom/frog/dom_frog.dart ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698