| 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:collection'; | 11 import 'dart:collection'; |
| 11 import 'dart:html_common'; | 12 import 'dart:html_common'; |
| 12 import 'dart:indexed_db'; | 13 import 'dart:indexed_db'; |
| 13 import 'dart:isolate'; | 14 import 'dart:isolate'; |
| 14 import 'dart:json'; | 15 import 'dart:json' as json; |
| 15 import 'dart:math'; | 16 import 'dart:math'; |
| 16 // 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. |
| 17 import 'dart:svg' as svg; | 18 import 'dart:svg' as svg; |
| 18 import 'dart:web_audio' as web_audio; | 19 import 'dart:web_audio' as web_audio; |
| 19 | 20 |
| 20 $!GENERATED_DART_FILES | 21 $!GENERATED_DART_FILES |
| 21 | 22 |
| 22 part '$AUXILIARY_DIR/AttributeMap.dart'; | 23 part '$AUXILIARY_DIR/AttributeMap.dart'; |
| 23 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; | 24 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
| 24 part '$AUXILIARY_DIR/CssClassSet.dart'; | 25 part '$AUXILIARY_DIR/CssClassSet.dart'; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 return JS('int', r'window.$dart$isolate$counter++'); | 66 return JS('int', r'window.$dart$isolate$counter++'); |
| 66 } | 67 } |
| 67 | 68 |
| 68 // Fast path to invoke JS send port. | 69 // Fast path to invoke JS send port. |
| 69 _callPortSync(int id, message) { | 70 _callPortSync(int id, message) { |
| 70 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 71 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 71 } | 72 } |
| 72 | 73 |
| 73 // TODO(vsm): Plumb this properly. | 74 // TODO(vsm): Plumb this properly. |
| 74 spawnDomFunction(f) => spawnFunction(f); | 75 spawnDomFunction(f) => spawnFunction(f); |
| OLD | NEW |