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

Side by Side Diff: tools/dom/templates/html/dart2js/html_dart2js.darttemplate

Issue 17301008: Remove =List in JS, use JSExtendableArray instead. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // DO NOT EDIT - unless you are editing documentation as per: 5 // DO NOT EDIT - unless you are editing documentation as per:
6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
7 // Auto-generated dart:html library. 7 // Auto-generated dart:html library.
8 8
9 /// The Dart HTML library. 9 /// The Dart HTML library.
10 library dart.dom.html; 10 library dart.dom.html;
11 11
12 import 'dart:async'; 12 import 'dart:async';
13 import 'dart:collection'; 13 import 'dart:collection';
14 import 'dart:_collection-dev' hide Symbol; 14 import 'dart:_collection-dev' hide Symbol;
15 import 'dart:html_common'; 15 import 'dart:html_common';
16 import 'dart:indexed_db'; 16 import 'dart:indexed_db';
17 import 'dart:isolate'; 17 import 'dart:isolate';
18 import 'dart:json' as json; 18 import 'dart:json' as json;
19 import 'dart:math'; 19 import 'dart:math';
20 import 'dart:mdv_observe_impl'; 20 import 'dart:mdv_observe_impl';
21 import 'dart:typed_data'; 21 import 'dart:typed_data';
22 // Not actually used, but imported since dart:html can generate these objects. 22 // Not actually used, but imported since dart:html can generate these objects.
23 import 'dart:svg' as svg; 23 import 'dart:svg' as svg;
24 import 'dart:web_audio' as web_audio; 24 import 'dart:web_audio' as web_audio;
25 import 'dart:web_gl' as gl; 25 import 'dart:web_gl' as gl;
26 import 'dart:web_sql'; 26 import 'dart:web_sql';
27 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin gBehavior, JSName, Null, Returns; 27 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin gBehavior, JSName, Null, Returns;
28 import 'dart:_interceptors' show Interceptor; 28 import 'dart:_interceptors' show Interceptor, JSExtendableArray;
29 import 'dart:_isolate_helper' show IsolateNatives; 29 import 'dart:_isolate_helper' show IsolateNatives;
30 import 'dart:_foreign_helper' show JS; 30 import 'dart:_foreign_helper' show JS;
31 31
32 $!GENERATED_DART_FILES 32 $!GENERATED_DART_FILES
33 33
34 part '$AUXILIARY_DIR/AttributeMap.dart'; 34 part '$AUXILIARY_DIR/AttributeMap.dart';
35 part '$AUXILIARY_DIR/CanvasImageSource.dart'; 35 part '$AUXILIARY_DIR/CanvasImageSource.dart';
36 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; 36 part '$AUXILIARY_DIR/CrossFrameTypes.dart';
37 part '$AUXILIARY_DIR/CssClassSet.dart'; 37 part '$AUXILIARY_DIR/CssClassSet.dart';
38 part '$AUXILIARY_DIR/EventListener.dart'; 38 part '$AUXILIARY_DIR/EventListener.dart';
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 return JS('int', r'window.$dart$isolate$counter++'); 86 return JS('int', r'window.$dart$isolate$counter++');
87 } 87 }
88 88
89 // Fast path to invoke JS send port. 89 // Fast path to invoke JS send port.
90 _callPortSync(int id, message) { 90 _callPortSync(int id, message) {
91 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); 91 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
92 } 92 }
93 93
94 Future<SendPort> spawnDomFunction(Function f) => 94 Future<SendPort> spawnDomFunction(Function f) =>
95 new Future.value(IsolateNatives.spawnDomFunction(f)); 95 new Future.value(IsolateNatives.spawnDomFunction(f));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698