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

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

Issue 41163005: Add JsArray (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: landing jsarray Created 7 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
« tests/html/js_test.dart ('K') | « tests/html/js_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index 16849886b6ab075d37a9b29a622cf35bfd06099f..651900afa3a0d4fa3e63a31049982469b2ac8aff 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -1208,6 +1208,7 @@ class CPPLibraryEmitter():
e.Emit(' _DateTimeClassId,\n');
e.Emit(' _JsObjectClassId,\n');
e.Emit(' _JsFunctionClassId,\n');
+ e.Emit(' _JsArrayClassId,\n');
e.Emit(' // New types that are not auto-generated should be added here.\n');
e.Emit('\n');
for interface in database.GetInterfaces():
@@ -1254,6 +1255,7 @@ class CPPLibraryEmitter():
e.Emit(' { "DateTime", DartCoreLibraryId, -1, false, false, false },\n');
e.Emit(' { "JsObject", DartJsLibraryId, -1, false, false, false },\n');
e.Emit(' { "JsFunction", DartJsLibraryId, _JsObjectClassId, false, false, false },\n');
+ e.Emit(' { "JsArray", DartJsLibraryId, _JsObjectClassId, false, false, false },\n');
e.Emit(' // New types that are not auto-generated should be added here.\n');
e.Emit('\n');
is_node_test = lambda interface: interface.id == 'Node'
« tests/html/js_test.dart ('K') | « tests/html/js_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698