| 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 25 matching lines...) Expand all Loading... |
| 36 import 'dart:_isolate_helper' show IsolateNatives; | 36 import 'dart:_isolate_helper' show IsolateNatives; |
| 37 import 'dart:_foreign_helper' show JS; | 37 import 'dart:_foreign_helper' show JS; |
| 38 | 38 |
| 39 $!GENERATED_DART_FILES | 39 $!GENERATED_DART_FILES |
| 40 | 40 |
| 41 part '$AUXILIARY_DIR/AttributeMap.dart'; | 41 part '$AUXILIARY_DIR/AttributeMap.dart'; |
| 42 part '$AUXILIARY_DIR/CanvasImageSource.dart'; | 42 part '$AUXILIARY_DIR/CanvasImageSource.dart'; |
| 43 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; | 43 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
| 44 part '$AUXILIARY_DIR/CssClassSet.dart'; | 44 part '$AUXILIARY_DIR/CssClassSet.dart'; |
| 45 part '$AUXILIARY_DIR/CssRectangle.dart'; | 45 part '$AUXILIARY_DIR/CssRectangle.dart'; |
| 46 part '$AUXILIARY_DIR/Device.dart'; |
| 46 part '$AUXILIARY_DIR/Dimension.dart'; | 47 part '$AUXILIARY_DIR/Dimension.dart'; |
| 47 part '$AUXILIARY_DIR/EventListener.dart'; | 48 part '$AUXILIARY_DIR/EventListener.dart'; |
| 48 part '$AUXILIARY_DIR/EventStreamProvider.dart'; | 49 part '$AUXILIARY_DIR/EventStreamProvider.dart'; |
| 49 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; | 50 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; |
| 50 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; | 51 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; |
| 51 part '$AUXILIARY_DIR/KeyCode.dart'; | 52 part '$AUXILIARY_DIR/KeyCode.dart'; |
| 52 part '$AUXILIARY_DIR/KeyLocation.dart'; | 53 part '$AUXILIARY_DIR/KeyLocation.dart'; |
| 53 part '$AUXILIARY_DIR/KeyName.dart'; | 54 part '$AUXILIARY_DIR/KeyName.dart'; |
| 54 part '$AUXILIARY_DIR/Point.dart'; | 55 part '$AUXILIARY_DIR/Point.dart'; |
| 55 part '$AUXILIARY_DIR/ReadyState.dart'; | 56 part '$AUXILIARY_DIR/ReadyState.dart'; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 return JS('int', r'window.$dart$isolate$counter++'); | 107 return JS('int', r'window.$dart$isolate$counter++'); |
| 107 } | 108 } |
| 108 | 109 |
| 109 // Fast path to invoke JS send port. | 110 // Fast path to invoke JS send port. |
| 110 _callPortSync(int id, message) { | 111 _callPortSync(int id, message) { |
| 111 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 112 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 112 } | 113 } |
| 113 | 114 |
| 114 Future<SendPort> spawnDomFunction(Function f) => | 115 Future<SendPort> spawnDomFunction(Function f) => |
| 115 new Future.value(IsolateNatives.spawnDomFunction(f)); | 116 new Future.value(IsolateNatives.spawnDomFunction(f)); |
| OLD | NEW |