| 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 28 matching lines...) Expand all Loading... |
| 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/Dimension.dart'; | 46 part '$AUXILIARY_DIR/Dimension.dart'; |
| 47 part '$AUXILIARY_DIR/EventListener.dart'; | 47 part '$AUXILIARY_DIR/EventListener.dart'; |
| 48 part '$AUXILIARY_DIR/EventStreamProvider.dart'; | 48 part '$AUXILIARY_DIR/EventStreamProvider.dart'; |
| 49 part '$AUXILIARY_DIR/Html5NodeValidator.dart'; |
| 49 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; | 50 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; |
| 50 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; | 51 part '$AUXILIARY_DIR/Isolates.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'; |
| 55 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; |
| 56 part '$AUXILIARY_DIR/Microtask.dart'; |
| 57 part '$AUXILIARY_DIR/NodeValidatorBuilder.dart'; |
| 54 part '$AUXILIARY_DIR/Point.dart'; | 58 part '$AUXILIARY_DIR/Point.dart'; |
| 55 part '$AUXILIARY_DIR/ReadyState.dart'; | 59 part '$AUXILIARY_DIR/ReadyState.dart'; |
| 56 part '$AUXILIARY_DIR/Rectangle.dart'; | 60 part '$AUXILIARY_DIR/Rectangle.dart'; |
| 57 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; | |
| 58 part '$AUXILIARY_DIR/Isolates.dart'; | |
| 59 part '$AUXILIARY_DIR/Microtask.dart'; | |
| 60 part '$AUXILIARY_DIR/Serialization.dart'; | 61 part '$AUXILIARY_DIR/Serialization.dart'; |
| 61 part '$AUXILIARY_DIR/WrappedEvent.dart'; | 62 part '$AUXILIARY_DIR/WrappedEvent.dart'; |
| 62 part '$AUXILIARY_DIR/WrappedList.dart'; | 63 part '$AUXILIARY_DIR/WrappedList.dart'; |
| 64 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; |
| 65 part '$AUXILIARY_DIR/_ListIterators.dart'; |
| 63 part '$AUXILIARY_DIR/dart2js_Conversions.dart'; | 66 part '$AUXILIARY_DIR/dart2js_Conversions.dart'; |
| 64 part '$AUXILIARY_DIR/dart2js_CustomElementSupport.dart'; | 67 part '$AUXILIARY_DIR/dart2js_CustomElementSupport.dart'; |
| 65 part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart'; | 68 part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart'; |
| 66 part '$AUXILIARY_DIR/dart2js_KeyEvent.dart'; | 69 part '$AUXILIARY_DIR/dart2js_KeyEvent.dart'; |
| 67 part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart'; | 70 part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart'; |
| 68 part '$AUXILIARY_DIR/dart2js_Platform.dart'; | 71 part '$AUXILIARY_DIR/dart2js_Platform.dart'; |
| 69 part '$AUXILIARY_DIR/_ListIterators.dart'; | 72 part '$AUXILIARY_DIR/Validators.dart'; |
| 70 | 73 |
| 71 | 74 |
| 72 /** | 75 /** |
| 73 * Top-level container for a web page, which is usually a browser tab or window. | 76 * Top-level container for a web page, which is usually a browser tab or window. |
| 74 * | 77 * |
| 75 * Each web page loaded in the browser has its own [Window], which is a | 78 * Each web page loaded in the browser has its own [Window], which is a |
| 76 * container for the web page. | 79 * container for the web page. |
| 77 * | 80 * |
| 78 * If the web page has any `<iframe>` elements, then each `<iframe>` has its own | 81 * If the web page has any `<iframe>` elements, then each `<iframe>` has its own |
| 79 * [Window] object, which is accessible only to that `<iframe>`. | 82 * [Window] object, which is accessible only to that `<iframe>`. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 106 return JS('int', r'window.$dart$isolate$counter++'); | 109 return JS('int', r'window.$dart$isolate$counter++'); |
| 107 } | 110 } |
| 108 | 111 |
| 109 // Fast path to invoke JS send port. | 112 // Fast path to invoke JS send port. |
| 110 _callPortSync(int id, message) { | 113 _callPortSync(int id, message) { |
| 111 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 114 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 112 } | 115 } |
| 113 | 116 |
| 114 Future<SendPort> spawnDomFunction(Function f) => | 117 Future<SendPort> spawnDomFunction(Function f) => |
| 115 new Future.value(IsolateNatives.spawnDomFunction(f)); | 118 new Future.value(IsolateNatives.spawnDomFunction(f)); |
| OLD | NEW |