| 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 - 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 /// | 10 /// |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 import 'dart:_interceptors' show Interceptor, JSExtendableArray; | 31 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
| 32 import 'dart:_isolate_helper' show IsolateNatives; | 32 import 'dart:_isolate_helper' show IsolateNatives; |
| 33 import 'dart:_foreign_helper' show JS; | 33 import 'dart:_foreign_helper' show JS; |
| 34 | 34 |
| 35 $!GENERATED_DART_FILES | 35 $!GENERATED_DART_FILES |
| 36 | 36 |
| 37 part '$AUXILIARY_DIR/AttributeMap.dart'; | 37 part '$AUXILIARY_DIR/AttributeMap.dart'; |
| 38 part '$AUXILIARY_DIR/CanvasImageSource.dart'; | 38 part '$AUXILIARY_DIR/CanvasImageSource.dart'; |
| 39 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; | 39 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
| 40 part '$AUXILIARY_DIR/CssClassSet.dart'; | 40 part '$AUXILIARY_DIR/CssClassSet.dart'; |
| 41 part '$AUXILIARY_DIR/CssRectangle.dart'; |
| 42 part '$AUXILIARY_DIR/Dimension.dart'; |
| 41 part '$AUXILIARY_DIR/EventListener.dart'; | 43 part '$AUXILIARY_DIR/EventListener.dart'; |
| 42 part '$AUXILIARY_DIR/EventStreamProvider.dart'; | 44 part '$AUXILIARY_DIR/EventStreamProvider.dart'; |
| 43 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; | 45 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; |
| 44 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; | 46 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; |
| 45 part '$AUXILIARY_DIR/KeyCode.dart'; | 47 part '$AUXILIARY_DIR/KeyCode.dart'; |
| 46 part '$AUXILIARY_DIR/KeyLocation.dart'; | 48 part '$AUXILIARY_DIR/KeyLocation.dart'; |
| 47 part '$AUXILIARY_DIR/KeyName.dart'; | 49 part '$AUXILIARY_DIR/KeyName.dart'; |
| 48 part '$AUXILIARY_DIR/Point.dart'; | 50 part '$AUXILIARY_DIR/Point.dart'; |
| 49 part '$AUXILIARY_DIR/ReadyState.dart'; | 51 part '$AUXILIARY_DIR/ReadyState.dart'; |
| 50 part '$AUXILIARY_DIR/Rectangle.dart'; | 52 part '$AUXILIARY_DIR/Rectangle.dart'; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 return JS('int', r'window.$dart$isolate$counter++'); | 101 return JS('int', r'window.$dart$isolate$counter++'); |
| 100 } | 102 } |
| 101 | 103 |
| 102 // Fast path to invoke JS send port. | 104 // Fast path to invoke JS send port. |
| 103 _callPortSync(int id, message) { | 105 _callPortSync(int id, message) { |
| 104 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 106 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 105 } | 107 } |
| 106 | 108 |
| 107 Future<SendPort> spawnDomFunction(Function f) => | 109 Future<SendPort> spawnDomFunction(Function f) => |
| 108 new Future.value(IsolateNatives.spawnDomFunction(f)); | 110 new Future.value(IsolateNatives.spawnDomFunction(f)); |
| OLD | NEW |