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 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/CrossFrameTypes.dart'); | 16 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
17 #source('$AUXILIARY_DIR/EventListener.dart'); | 17 part '$AUXILIARY_DIR/EventListener.dart'; |
18 #source('$AUXILIARY_DIR/KeyLocation.dart'); | 18 part '$AUXILIARY_DIR/KeyLocation.dart'; |
19 #source('$AUXILIARY_DIR/KeyName.dart'); | 19 part '$AUXILIARY_DIR/KeyName.dart'; |
20 #source('$AUXILIARY_DIR/ReadyState.dart'); | 20 part '$AUXILIARY_DIR/ReadyState.dart'; |
21 #source('$AUXILIARY_DIR/Timer.dart'); | 21 part '$AUXILIARY_DIR/Timer.dart'; |
22 #source('$AUXILIARY_DIR/_Collections.dart'); | 22 part '$AUXILIARY_DIR/_Collections.dart'; |
23 #source('$AUXILIARY_DIR/_HttpRequestUtils.dart'); | 23 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; |
24 #source('$AUXILIARY_DIR/shared_FactoryProviders.dart'); | 24 part '$AUXILIARY_DIR/shared_FactoryProviders.dart'; |
25 #source('$AUXILIARY_DIR/dartium_FactoryProviders.dart'); | 25 part '$AUXILIARY_DIR/dartium_FactoryProviders.dart'; |
26 #source('$AUXILIARY_DIR/Device.dart'); | 26 part '$AUXILIARY_DIR/Device.dart'; |
27 #source('$AUXILIARY_DIR/Isolates.dart'); | 27 part '$AUXILIARY_DIR/Isolates.dart'; |
28 #source('$AUXILIARY_DIR/Measurement.dart'); | 28 part '$AUXILIARY_DIR/Measurement.dart'; |
29 #source('$AUXILIARY_DIR/Serialization.dart'); | 29 part '$AUXILIARY_DIR/Serialization.dart'; |
30 #source('$AUXILIARY_DIR/dartium_MutationObserverSupported.dart'); | 30 part '$AUXILIARY_DIR/dartium_MutationObserverSupported.dart'; |
31 #source('$AUXILIARY_DIR/_Testing.dart'); | 31 part '$AUXILIARY_DIR/_Testing.dart'; |
32 #source('$AUXILIARY_DIR/_ListIterators.dart'); | 32 part '$AUXILIARY_DIR/_ListIterators.dart'; |
33 #source('$AUXILIARY_DIR/_Lists.dart'); | 33 part '$AUXILIARY_DIR/_Lists.dart'; |
34 | 34 |
35 #source('$AUXILIARY_DIR/native_DOMPublic.dart'); | 35 part '$AUXILIARY_DIR/native_DOMPublic.dart'; |
36 #source('$AUXILIARY_DIR/native_DOMImplementation.dart'); | 36 part '$AUXILIARY_DIR/native_DOMImplementation.dart'; |
37 | 37 |
38 LocalWindow __window; | 38 LocalWindow __window; |
39 | 39 |
40 LocalWindow get window { | 40 LocalWindow get window { |
41 if (__window != null) { | 41 if (__window != null) { |
42 return __window; | 42 return __window; |
43 } | 43 } |
44 __window = _Utils.window(); | 44 __window = _Utils.window(); |
45 return __window; | 45 return __window; |
46 } | 46 } |
(...skipping 26 matching lines...) Expand all Loading... |
73 _callPortLastResult = JSON.parse(_getPortSyncEventData(event)); | 73 _callPortLastResult = JSON.parse(_getPortSyncEventData(event)); |
74 }, false); | 74 }, false); |
75 _callPortInitialized = true; | 75 _callPortInitialized = true; |
76 } | 76 } |
77 assert(_callPortLastResult == null); | 77 assert(_callPortLastResult == null); |
78 _dispatchEvent('js-sync-message', {'id': id, 'message': message}); | 78 _dispatchEvent('js-sync-message', {'id': id, 'message': message}); |
79 var result = _callPortLastResult; | 79 var result = _callPortLastResult; |
80 _callPortLastResult = null; | 80 _callPortLastResult = null; |
81 return result; | 81 return result; |
82 } | 82 } |
OLD | NEW |