| 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 #import("dart:nativewrappers"); | 12 #import("dart:nativewrappers"); |
| 13 | 13 |
| 14 $!GENERATED_DART_FILES | 14 $!GENERATED_DART_FILES |
| 15 | 15 |
| 16 #source('$AUXILIARY_DIR/EventListener.dart'); | 16 #source('$AUXILIARY_DIR/EventListener.dart'); |
| 17 #source('$AUXILIARY_DIR/KeyLocation.dart'); | 17 #source('$AUXILIARY_DIR/KeyLocation.dart'); |
| 18 #source('$AUXILIARY_DIR/KeyName.dart'); | 18 #source('$AUXILIARY_DIR/KeyName.dart'); |
| 19 #source('$AUXILIARY_DIR/ReadyState.dart'); | 19 #source('$AUXILIARY_DIR/ReadyState.dart'); |
| 20 #source('$AUXILIARY_DIR/Timer.dart'); | 20 #source('$AUXILIARY_DIR/Timer.dart'); |
| 21 #source('$AUXILIARY_DIR/_Collections.dart'); | 21 #source('$AUXILIARY_DIR/_Collections.dart'); |
| 22 #source('$AUXILIARY_DIR/_HttpRequestUtils.dart'); | 22 #source('$AUXILIARY_DIR/_HttpRequestUtils.dart'); |
| 23 #source('$AUXILIARY_DIR/../../html/src/shared_FactoryProviders.dart'); | 23 #source('$AUXILIARY_DIR/../../html/src/shared_FactoryProviders.dart'); |
| 24 #source('$AUXILIARY_DIR/../../html/src/dartium_FactoryProviders.dart'); | 24 #source('$AUXILIARY_DIR/../../html/src/dartium_FactoryProviders.dart'); |
| 25 #source('$AUXILIARY_DIR/../../html/src/Isolates.dart'); | |
| 26 #source('$AUXILIARY_DIR/../../html/src/Measurement.dart'); | 25 #source('$AUXILIARY_DIR/../../html/src/Measurement.dart'); |
| 27 #source('$AUXILIARY_DIR/../../html/src/Device.dart'); | 26 #source('$AUXILIARY_DIR/../../html/src/Device.dart'); |
| 28 #source('$AUXILIARY_DIR/../../html/src/_Testing.dart'); | 27 #source('$AUXILIARY_DIR/../../html/src/_Testing.dart'); |
| 29 #source('$AUXILIARY_DIR/_ListIterators.dart'); | 28 #source('$AUXILIARY_DIR/_ListIterators.dart'); |
| 30 #source('$AUXILIARY_DIR/_Lists.dart'); | 29 #source('$AUXILIARY_DIR/_Lists.dart'); |
| 31 #source('$AUXILIARY_DIR/../../js_isolate_impl/isolate.dart'); | |
| 32 | 30 |
| 33 #source('$AUXILIARY_DIR/native_DOMPublic.dart'); | 31 #source('$AUXILIARY_DIR/native_DOMPublic.dart'); |
| 34 #source('$AUXILIARY_DIR/native_DOMImplementation.dart'); | 32 #source('$AUXILIARY_DIR/native_DOMImplementation.dart'); |
| 35 | 33 |
| 36 Window __window; | 34 Window __window; |
| 37 | 35 |
| 38 Window get window() { | 36 Window get window() { |
| 39 if (__window !== null) { | 37 if (__window !== null) { |
| 40 return __window; | 38 return __window; |
| 41 } | 39 } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 _callPortLastResult = JSON.parse(event.data); | 75 _callPortLastResult = JSON.parse(event.data); |
| 78 }, false); | 76 }, false); |
| 79 _callPortInitialized = true; | 77 _callPortInitialized = true; |
| 80 } | 78 } |
| 81 assert(_callPortLastResult == null); | 79 assert(_callPortLastResult == null); |
| 82 _dispatchEvent('js-sync-message', {'id': id, 'message': message}); | 80 _dispatchEvent('js-sync-message', {'id': id, 'message': message}); |
| 83 var result = _callPortLastResult; | 81 var result = _callPortLastResult; |
| 84 _callPortLastResult = null; | 82 _callPortLastResult = null; |
| 85 return result; | 83 return result; |
| 86 } | 84 } |
| OLD | NEW |