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

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

Issue 10080008: Do not delete DOMStringMap and DOMStringList types from idl database. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added empty DOMStringList implementation. 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 | « no previous file | lib/dom/scripts/generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/dartdomgenerator.py
diff --git a/lib/dom/scripts/dartdomgenerator.py b/lib/dom/scripts/dartdomgenerator.py
index 070e731ed0b65d98d859a53cf946866e62e57579..89e4859545b220050827100f026dc4447f73afbf 100755
--- a/lib/dom/scripts/dartdomgenerator.py
+++ b/lib/dom/scripts/dartdomgenerator.py
@@ -85,17 +85,13 @@ def GenerateDOM(systems, generate_html_systems, output_dir,
common_database.LoadFromCache()
else:
common_database.Load()
- # Remove these types since they are mapped directly to dart.
- common_database.DeleteInterface('DOMStringMap')
- common_database.DeleteInterface('DOMStringList')
generator.RenameTypes(common_database, {
# W3C -> Dart renames
'AbstractView': 'Window',
'Function': 'EventListener',
- 'DOMStringMap': 'Map<String, String>',
- 'DOMStringList': 'List<String>',
}, True)
+
generator.FilterMembersWithUnidentifiedTypes(common_database)
webkit_database = common_database.Clone()
« no previous file with comments | « no previous file | lib/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698