| 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 /** | 8 /** |
| 9 * HTML elements and other resources for web-based applications that need to | 9 * HTML elements and other resources for web-based applications that need to |
| 10 * interact with the browser and the DOM (Document Object Model). | 10 * interact with the browser and the DOM (Document Object Model). |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 import 'dart:mirrors'; | 44 import 'dart:mirrors'; |
| 45 import 'dart:nativewrappers'; | 45 import 'dart:nativewrappers'; |
| 46 import 'dart:typed_data'; | 46 import 'dart:typed_data'; |
| 47 import 'dart:web_gl' as gl; | 47 import 'dart:web_gl' as gl; |
| 48 import 'dart:web_sql'; | 48 import 'dart:web_sql'; |
| 49 // Not actually used, but imported since dart:html can generate these objects. | 49 // Not actually used, but imported since dart:html can generate these objects. |
| 50 import 'dart:svg' as svg; | 50 import 'dart:svg' as svg; |
| 51 import 'dart:svg' show Matrix; | 51 import 'dart:svg' show Matrix; |
| 52 import 'dart:svg' show SvgSvgElement; | 52 import 'dart:svg' show SvgSvgElement; |
| 53 import 'dart:web_audio' as web_audio; | 53 import 'dart:web_audio' as web_audio; |
| 54 import 'dart:blink' as blink; |
| 54 | 55 |
| 55 export 'dart:math' show Rectangle, Point; | 56 export 'dart:math' show Rectangle, Point; |
| 56 | 57 |
| 57 $!GENERATED_DART_FILES | 58 $!GENERATED_DART_FILES |
| 58 | 59 |
| 59 // Issue 14721, order important for WrappedEvent. | 60 // Issue 14721, order important for WrappedEvent. |
| 60 part '$AUXILIARY_DIR/WrappedEvent.dart'; | 61 part '$AUXILIARY_DIR/WrappedEvent.dart'; |
| 61 part '$AUXILIARY_DIR/AttributeMap.dart'; | 62 part '$AUXILIARY_DIR/AttributeMap.dart'; |
| 62 part '$AUXILIARY_DIR/CanvasImageSource.dart'; | 63 part '$AUXILIARY_DIR/CanvasImageSource.dart'; |
| 63 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; | 64 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 76 part '$AUXILIARY_DIR/ReadyState.dart'; | 77 part '$AUXILIARY_DIR/ReadyState.dart'; |
| 77 part '$AUXILIARY_DIR/Validators.dart'; | 78 part '$AUXILIARY_DIR/Validators.dart'; |
| 78 part '$AUXILIARY_DIR/WrappedList.dart'; | 79 part '$AUXILIARY_DIR/WrappedList.dart'; |
| 79 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; | 80 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; |
| 80 part '$AUXILIARY_DIR/_ListIterators.dart'; | 81 part '$AUXILIARY_DIR/_ListIterators.dart'; |
| 81 part '$AUXILIARY_DIR/dartium_CustomElementSupport.dart'; | 82 part '$AUXILIARY_DIR/dartium_CustomElementSupport.dart'; |
| 82 part '$AUXILIARY_DIR/dartium_KeyEvent.dart'; | 83 part '$AUXILIARY_DIR/dartium_KeyEvent.dart'; |
| 83 part '$AUXILIARY_DIR/dartium_Platform.dart'; | 84 part '$AUXILIARY_DIR/dartium_Platform.dart'; |
| 84 part '$AUXILIARY_DIR/shared_html.dart'; | 85 part '$AUXILIARY_DIR/shared_html.dart'; |
| 85 | 86 |
| 87 $if DART_USE_BLINK |
| 88 part '$AUXILIARY_DIR/html_native_DOMImplementation.dart'; |
| 89 $else |
| 86 part '$AUXILIARY_DIR/native_DOMImplementation.dart'; | 90 part '$AUXILIARY_DIR/native_DOMImplementation.dart'; |
| 91 $endif |
| 87 | 92 |
| 88 Window _window; | 93 Window _window; |
| 89 | 94 |
| 90 /** | 95 /** |
| 91 * Top-level container for a web page, which is usually a browser tab or window. | 96 * Top-level container for a web page, which is usually a browser tab or window. |
| 92 * | 97 * |
| 93 * Each web page loaded in the browser has its own [Window], which is a | 98 * Each web page loaded in the browser has its own [Window], which is a |
| 94 * container for the web page. | 99 * container for the web page. |
| 95 * | 100 * |
| 96 * If the web page has any `<iframe>` elements, then each `<iframe>` has its own | 101 * If the web page has any `<iframe>` elements, then each `<iframe>` has its own |
| (...skipping 28 matching lines...) Expand all Loading... |
| 125 * Spawn a DOM isolate using the given URI in the same window. | 130 * Spawn a DOM isolate using the given URI in the same window. |
| 126 * This isolate is not concurrent. It runs on the browser thread | 131 * This isolate is not concurrent. It runs on the browser thread |
| 127 * with full access to the DOM. | 132 * with full access to the DOM. |
| 128 * Note: this API is still evolving and may move to dart:isolate. | 133 * Note: this API is still evolving and may move to dart:isolate. |
| 129 */ | 134 */ |
| 130 @Experimental() | 135 @Experimental() |
| 131 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { | 136 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { |
| 132 // TODO(17738): Plumb arguments and return value through. | 137 // TODO(17738): Plumb arguments and return value through. |
| 133 return _Utils.spawnDomUri(uri.toString()); | 138 return _Utils.spawnDomUri(uri.toString()); |
| 134 } | 139 } |
| OLD | NEW |