Chromium Code Reviews| 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 library dart.dom.html; | 10 library dart.dom.html; |
| 11 | 11 |
| 12 import 'dart:async'; | 12 import 'dart:async'; |
| 13 import 'dart:collection'; | 13 import 'dart:collection'; |
| 14 import 'dart:html_common'; | 14 import 'dart:html_common'; |
| 15 import 'dart:indexed_db'; | 15 import 'dart:indexed_db'; |
| 16 import 'dart:isolate'; | 16 import 'dart:isolate'; |
| 17 import 'dart:json' as json; | 17 import 'dart:json' as json; |
| 18 import 'dart:math'; | 18 import 'dart:math'; |
| 19 import 'dart:web_sql'; | 19 import 'dart:typeddata'; |
|
blois
2013/03/19 17:26:11
Should be after svg.
| |
| 20 // Not actually used, but imported since dart:html can generate these objects. | 20 // Not actually used, but imported since dart:html can generate these objects. |
| 21 import 'dart:svg' as svg; | 21 import 'dart:svg' as svg; |
| 22 import 'dart:web_audio' as web_audio; | 22 import 'dart:web_audio' as web_audio; |
| 23 import 'dart:web_sql'; | |
| 23 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin gBehavior, JSName, Null, Returns; | 24 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin gBehavior, JSName, Null, Returns; |
| 24 import 'dart:_isolate_helper' show IsolateNatives; | 25 import 'dart:_isolate_helper' show IsolateNatives; |
| 25 import 'dart:_foreign_helper' show JS; | 26 import 'dart:_foreign_helper' show JS; |
| 26 | 27 |
| 27 $!GENERATED_DART_FILES | 28 $!GENERATED_DART_FILES |
| 28 | 29 |
| 29 part '$AUXILIARY_DIR/AttributeMap.dart'; | 30 part '$AUXILIARY_DIR/AttributeMap.dart'; |
| 30 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; | 31 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
| 31 part '$AUXILIARY_DIR/CssClassSet.dart'; | 32 part '$AUXILIARY_DIR/CssClassSet.dart'; |
| 32 part '$AUXILIARY_DIR/EventListener.dart'; | 33 part '$AUXILIARY_DIR/EventListener.dart'; |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 43 part '$AUXILIARY_DIR/Isolates.dart'; | 44 part '$AUXILIARY_DIR/Isolates.dart'; |
| 44 part '$AUXILIARY_DIR/Microtask.dart'; | 45 part '$AUXILIARY_DIR/Microtask.dart'; |
| 45 part '$AUXILIARY_DIR/Serialization.dart'; | 46 part '$AUXILIARY_DIR/Serialization.dart'; |
| 46 part '$AUXILIARY_DIR/WrappedList.dart'; | 47 part '$AUXILIARY_DIR/WrappedList.dart'; |
| 47 part '$AUXILIARY_DIR/shared_FactoryProviders.dart'; | 48 part '$AUXILIARY_DIR/shared_FactoryProviders.dart'; |
| 48 part '$AUXILIARY_DIR/dart2js_Conversions.dart'; | 49 part '$AUXILIARY_DIR/dart2js_Conversions.dart'; |
| 49 part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart'; | 50 part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart'; |
| 50 part '$AUXILIARY_DIR/dart2js_KeyEvent.dart'; | 51 part '$AUXILIARY_DIR/dart2js_KeyEvent.dart'; |
| 51 part '$AUXILIARY_DIR/dart2js_FactoryProviders.dart'; | 52 part '$AUXILIARY_DIR/dart2js_FactoryProviders.dart'; |
| 52 part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart'; | 53 part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart'; |
| 53 part '$AUXILIARY_DIR/dart2js_TypedArrayFactoryProvider.dart'; | |
| 54 part '$AUXILIARY_DIR/_ListIterators.dart'; | 54 part '$AUXILIARY_DIR/_ListIterators.dart'; |
| 55 | 55 |
| 56 | 56 |
| 57 /** | 57 /** |
| 58 * The top-level Window object. | 58 * The top-level Window object. |
| 59 */ | 59 */ |
| 60 Window get window => JS('Window', 'window'); | 60 Window get window => JS('Window', 'window'); |
| 61 | 61 |
| 62 /** | 62 /** |
| 63 * The top-level Document object. | 63 * The top-level Document object. |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 79 } | 79 } |
| 80 return JS('int', r'window.$dart$isolate$counter++'); | 80 return JS('int', r'window.$dart$isolate$counter++'); |
| 81 } | 81 } |
| 82 | 82 |
| 83 // Fast path to invoke JS send port. | 83 // Fast path to invoke JS send port. |
| 84 _callPortSync(int id, message) { | 84 _callPortSync(int id, message) { |
| 85 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 85 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 86 } | 86 } |
| 87 | 87 |
| 88 spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f); | 88 spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f); |
| OLD | NEW |