| 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 19 matching lines...) Expand all Loading... |
| 30 * on Github. | 30 * on Github. |
| 31 */ | 31 */ |
| 32 library dart.dom.html; | 32 library dart.dom.html; |
| 33 | 33 |
| 34 import 'dart:async'; | 34 import 'dart:async'; |
| 35 import 'dart:collection'; | 35 import 'dart:collection'; |
| 36 import 'dart:_internal' hide Symbol, deprecated; | 36 import 'dart:_internal' hide Symbol, deprecated; |
| 37 import 'dart:html_common'; | 37 import 'dart:html_common'; |
| 38 import 'dart:indexed_db'; | 38 import 'dart:indexed_db'; |
| 39 import 'dart:isolate'; | 39 import 'dart:isolate'; |
| 40 import 'dart:js' as js; |
| 40 import "dart:convert"; | 41 import "dart:convert"; |
| 41 import 'dart:math'; | 42 import 'dart:math'; |
| 42 // TODO(vsm): Remove this when we can do the proper checking in | 43 // TODO(vsm): Remove this when we can do the proper checking in |
| 43 // native code for custom elements. | 44 // native code for custom elements. |
| 44 import 'dart:mirrors'; | 45 import 'dart:mirrors'; |
| 45 import 'dart:nativewrappers'; | 46 import 'dart:nativewrappers'; |
| 46 import 'dart:typed_data'; | 47 import 'dart:typed_data'; |
| 47 import 'dart:web_gl' as gl; | 48 import 'dart:web_gl' as gl; |
| 48 import 'dart:web_sql'; | 49 import 'dart:web_sql'; |
| 49 // Not actually used, but imported since dart:html can generate these objects. | 50 // Not actually used, but imported since dart:html can generate these objects. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 * Note: this API is still evolving and may move to dart:isolate. | 136 * Note: this API is still evolving and may move to dart:isolate. |
| 136 */ | 137 */ |
| 137 @Experimental() | 138 @Experimental() |
| 138 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { | 139 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { |
| 139 // TODO(17738): Plumb arguments and return value through. | 140 // TODO(17738): Plumb arguments and return value through. |
| 140 return _Utils.spawnDomUri(uri.toString()); | 141 return _Utils.spawnDomUri(uri.toString()); |
| 141 } | 142 } |
| 142 $if DART_USE_BLINK | 143 $if DART_USE_BLINK |
| 143 // FIXME: Can we make this private? | 144 // FIXME: Can we make this private? |
| 144 const htmlBlinkMap = const { | 145 const htmlBlinkMap = const { |
| 146 '_HistoryCrossFrame': _HistoryCrossFrame, |
| 147 '_LocationCrossFrame': _LocationCrossFrame, |
| 148 '_DOMWindowCrossFrame': _DOMWindowCrossFrame, |
| 149 // FIXME: Move these to better locations. |
| 150 'DateTime': DateTime, |
| 151 'JsObject': js.JsObject, |
| 152 'JsFunction': js.JsFunction, |
| 153 'JsArray': js.JsArray, |
| 145 $!TYPE_MAP | 154 $!TYPE_MAP |
| 146 }; | 155 }; |
| 147 $endif | 156 $endif |
| OLD | NEW |