| OLD | NEW |
| 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 | 5 // DO NOT EDIT |
| 6 // Auto-generated dart:html library. | 6 // Auto-generated dart:html library. |
| 7 | 7 |
| 8 library html; | 8 library html; |
| 9 | 9 |
| 10 import 'dart:async'; | 10 import 'dart:async'; |
| 11 import 'dart:collection'; | 11 import 'dart:collection'; |
| 12 import 'dart:html_common'; | 12 import 'dart:html_common'; |
| 13 import 'dart:indexed_db'; | 13 import 'dart:indexed_db'; |
| 14 import 'dart:isolate'; | 14 import 'dart:isolate'; |
| 15 import 'dart:json' as json; | 15 import 'dart:json' as json; |
| 16 import 'dart:math'; | 16 import 'dart:math'; |
| 17 // Not actually used, but imported since dart:html can generate these objects. | 17 // Not actually used, but imported since dart:html can generate these objects. |
| 18 import 'dart:svg' as svg; | 18 import 'dart:svg' as svg; |
| 19 import 'dart:web_audio' as web_audio; | 19 import 'dart:web_audio' as web_audio; |
| 20 import 'dart:_js_helper' show convertDartClosureToJS, |
| 21 Creates, |
| 22 JavaScriptIndexingBehavior, |
| 23 JSName, |
| 24 Null, |
| 25 Returns; |
| 26 import 'dart:_isolate_helper' show IsolateNatives; |
| 27 import 'dart:_foreign_helper' show JS; |
| 20 | 28 |
| 21 $!GENERATED_DART_FILES | 29 $!GENERATED_DART_FILES |
| 22 | 30 |
| 23 part '$AUXILIARY_DIR/AttributeMap.dart'; | 31 part '$AUXILIARY_DIR/AttributeMap.dart'; |
| 24 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; | 32 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
| 25 part '$AUXILIARY_DIR/CssClassSet.dart'; | 33 part '$AUXILIARY_DIR/CssClassSet.dart'; |
| 26 part '$AUXILIARY_DIR/Device.dart'; | 34 part '$AUXILIARY_DIR/Device.dart'; |
| 27 part '$AUXILIARY_DIR/EventListener.dart'; | 35 part '$AUXILIARY_DIR/EventListener.dart'; |
| 28 part '$AUXILIARY_DIR/EventStreamProvider.dart'; | 36 part '$AUXILIARY_DIR/EventStreamProvider.dart'; |
| 29 part '$AUXILIARY_DIR/KeyboardEventController.dart'; | 37 part '$AUXILIARY_DIR/KeyboardEventController.dart'; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 74 } |
| 67 return JS('int', r'window.$dart$isolate$counter++'); | 75 return JS('int', r'window.$dart$isolate$counter++'); |
| 68 } | 76 } |
| 69 | 77 |
| 70 // Fast path to invoke JS send port. | 78 // Fast path to invoke JS send port. |
| 71 _callPortSync(int id, message) { | 79 _callPortSync(int id, message) { |
| 72 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 80 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 73 } | 81 } |
| 74 | 82 |
| 75 spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f); | 83 spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f); |
| OLD | NEW |