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 $if DART_USE_BLINK |
| 55 import 'dart:blink' as blink; |
| 56 $endif |
54 | 57 |
55 export 'dart:math' show Rectangle, Point; | 58 export 'dart:math' show Rectangle, Point; |
56 | 59 |
57 $!GENERATED_DART_FILES | 60 $!GENERATED_DART_FILES |
58 | 61 |
59 // Issue 14721, order important for WrappedEvent. | 62 // Issue 14721, order important for WrappedEvent. |
60 part '$AUXILIARY_DIR/WrappedEvent.dart'; | 63 part '$AUXILIARY_DIR/WrappedEvent.dart'; |
61 part '$AUXILIARY_DIR/AttributeMap.dart'; | 64 part '$AUXILIARY_DIR/AttributeMap.dart'; |
62 part '$AUXILIARY_DIR/CanvasImageSource.dart'; | 65 part '$AUXILIARY_DIR/CanvasImageSource.dart'; |
63 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; | 66 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
(...skipping 12 matching lines...) Expand all Loading... |
76 part '$AUXILIARY_DIR/ReadyState.dart'; | 79 part '$AUXILIARY_DIR/ReadyState.dart'; |
77 part '$AUXILIARY_DIR/Validators.dart'; | 80 part '$AUXILIARY_DIR/Validators.dart'; |
78 part '$AUXILIARY_DIR/WrappedList.dart'; | 81 part '$AUXILIARY_DIR/WrappedList.dart'; |
79 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; | 82 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; |
80 part '$AUXILIARY_DIR/_ListIterators.dart'; | 83 part '$AUXILIARY_DIR/_ListIterators.dart'; |
81 part '$AUXILIARY_DIR/dartium_CustomElementSupport.dart'; | 84 part '$AUXILIARY_DIR/dartium_CustomElementSupport.dart'; |
82 part '$AUXILIARY_DIR/dartium_KeyEvent.dart'; | 85 part '$AUXILIARY_DIR/dartium_KeyEvent.dart'; |
83 part '$AUXILIARY_DIR/dartium_Platform.dart'; | 86 part '$AUXILIARY_DIR/dartium_Platform.dart'; |
84 part '$AUXILIARY_DIR/shared_html.dart'; | 87 part '$AUXILIARY_DIR/shared_html.dart'; |
85 | 88 |
| 89 $if DART_USE_BLINK |
| 90 part '$AUXILIARY_DIR/html_native_DOMImplementation.dart'; |
| 91 $else |
86 part '$AUXILIARY_DIR/native_DOMImplementation.dart'; | 92 part '$AUXILIARY_DIR/native_DOMImplementation.dart'; |
| 93 $endif |
87 | 94 |
88 Window _window; | 95 Window _window; |
89 | 96 |
90 /** | 97 /** |
91 * Top-level container for a web page, which is usually a browser tab or window. | 98 * Top-level container for a web page, which is usually a browser tab or window. |
92 * | 99 * |
93 * Each web page loaded in the browser has its own [Window], which is a | 100 * Each web page loaded in the browser has its own [Window], which is a |
94 * container for the web page. | 101 * container for the web page. |
95 * | 102 * |
96 * If the web page has any `<iframe>` elements, then each `<iframe>` has its own | 103 * 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. | 132 * Spawn a DOM isolate using the given URI in the same window. |
126 * This isolate is not concurrent. It runs on the browser thread | 133 * This isolate is not concurrent. It runs on the browser thread |
127 * with full access to the DOM. | 134 * with full access to the DOM. |
128 * Note: this API is still evolving and may move to dart:isolate. | 135 * Note: this API is still evolving and may move to dart:isolate. |
129 */ | 136 */ |
130 @Experimental() | 137 @Experimental() |
131 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { | 138 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { |
132 // TODO(17738): Plumb arguments and return value through. | 139 // TODO(17738): Plumb arguments and return value through. |
133 return _Utils.spawnDomUri(uri.toString()); | 140 return _Utils.spawnDomUri(uri.toString()); |
134 } | 141 } |
OLD | NEW |