| 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 #library('dart:html'); | 8 #library('dart:html'); |
| 9 | 9 |
| 10 #import('dart:isolate'); | 10 #import('dart:isolate'); |
| 11 #import('dart:json'); | 11 #import('dart:json'); |
| 12 | 12 |
| 13 $!GENERATED_DART_FILES | 13 $!GENERATED_DART_FILES |
| 14 | 14 |
| 15 #source('../../html/src/EventListener.dart'); | 15 #source('$AUXILIARY_DIR/EventListener.dart'); |
| 16 #source('../../html/src/KeyLocation.dart'); | 16 #source('$AUXILIARY_DIR/KeyLocation.dart'); |
| 17 #source('../../html/src/KeyName.dart'); | 17 #source('$AUXILIARY_DIR/KeyName.dart'); |
| 18 #source('../../html/src/ReadyState.dart'); | 18 #source('$AUXILIARY_DIR/ReadyState.dart'); |
| 19 #source('../../html/src/Timer.dart'); | 19 #source('$AUXILIARY_DIR/Timer.dart'); |
| 20 #source('../../html/src/_Collections.dart'); | 20 #source('$AUXILIARY_DIR/_Collections.dart'); |
| 21 #source('../../html/src/_HttpRequestUtils.dart'); | 21 #source('$AUXILIARY_DIR/_HttpRequestUtils.dart'); |
| 22 #source('../../html/src/Isolates.dart'); | 22 #source('$AUXILIARY_DIR/Isolates.dart'); |
| 23 #source('../../html/src/Measurement.dart'); | 23 #source('$AUXILIARY_DIR/Measurement.dart'); |
| 24 #source('../../html/src/Serialization.dart'); | 24 #source('$AUXILIARY_DIR/Serialization.dart'); |
| 25 #source('../../html/src/shared_FactoryProviders.dart'); | 25 #source('$AUXILIARY_DIR/shared_FactoryProviders.dart'); |
| 26 #source('../../html/src/dart2js_Conversions.dart'); | 26 #source('$AUXILIARY_DIR/dart2js_Conversions.dart'); |
| 27 #source('../../html/src/dart2js_DOMImplementation.dart'); | 27 #source('$AUXILIARY_DIR/dart2js_DOMImplementation.dart'); |
| 28 #source('../../html/src/dart2js_FactoryProviders.dart'); | 28 #source('$AUXILIARY_DIR/dart2js_FactoryProviders.dart'); |
| 29 #source('../../html/src/dart2js_IDBKeyRangeFactoryProvider.dart'); | 29 #source('$AUXILIARY_DIR/dart2js_IDBKeyRangeFactoryProvider.dart'); |
| 30 #source('../../html/src/dart2js_LocationWrapper.dart'); | 30 #source('$AUXILIARY_DIR/dart2js_LocationWrapper.dart'); |
| 31 #source('../../html/src/dart2js_TypedArrayFactoryProvider.dart'); | 31 #source('$AUXILIARY_DIR/dart2js_TypedArrayFactoryProvider.dart'); |
| 32 #source('../../html/src/_Testing.dart'); | 32 #source('$AUXILIARY_DIR/_Testing.dart'); |
| 33 #source('../../html/src/Device.dart'); | 33 #source('$AUXILIARY_DIR/Device.dart'); |
| 34 #source('../../html/src/_ListIterators.dart'); | 34 #source('$AUXILIARY_DIR/_ListIterators.dart'); |
| 35 #source('../../html/src/_Lists.dart'); | 35 #source('$AUXILIARY_DIR/_Lists.dart'); |
| 36 | 36 |
| 37 | 37 |
| 38 Window get window() native "return window;"; | 38 Window get window() native "return window;"; |
| 39 _WindowImpl get _window() native "return window;"; | 39 _WindowImpl get _window() native "return window;"; |
| 40 | 40 |
| 41 Document get document() native "return document;"; | 41 Document get document() native "return document;"; |
| 42 | 42 |
| 43 _DocumentImpl get _document() native "return document;"; | 43 _DocumentImpl get _document() native "return document;"; |
| 44 | 44 |
| 45 Element query(String selector) => _document.query(selector); | 45 Element query(String selector) => _document.query(selector); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 58 return window.$dart$isolate$counter++; | 58 return window.$dart$isolate$counter++; |
| 59 '''; | 59 '''; |
| 60 | 60 |
| 61 // Fast path to invoke JS send port. | 61 // Fast path to invoke JS send port. |
| 62 _callPortSync(int id, message) { | 62 _callPortSync(int id, message) { |
| 63 return JS('var', @'ReceivePortSync.dispatchCall(#, #)', id, message); | 63 return JS('var', @'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 64 } | 64 } |
| 65 | 65 |
| 66 // TODO(vsm): Plumb this properly. | 66 // TODO(vsm): Plumb this properly. |
| 67 spawnDomFunction(f) => spawnFunction(f); | 67 spawnDomFunction(f) => spawnFunction(f); |
| OLD | NEW |