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 html; | 8 library html; |
9 | 9 |
10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
| 11 import 'dart:indexed_db'; |
11 import 'dart:isolate'; | 12 import 'dart:isolate'; |
12 import 'dart:json'; | 13 import 'dart:json'; |
13 import 'dart:nativewrappers'; | 14 import 'dart:nativewrappers'; |
14 // Not actually used, but imported since dart:html can generate these objects. | 15 // Not actually used, but imported since dart:html can generate these objects. |
15 import 'dart:svg' as svg; | 16 import 'dart:svg' as svg; |
16 import 'dart:web_audio' as web_audio; | 17 import 'dart:web_audio' as web_audio; |
17 | 18 |
18 $!GENERATED_DART_FILES | 19 $!GENERATED_DART_FILES |
19 | 20 |
20 part '$AUXILIARY_DIR/AttributeMap.dart'; | 21 part '$AUXILIARY_DIR/AttributeMap.dart'; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 _callPortLastResult = JSON.parse(_getPortSyncEventData(event)); | 80 _callPortLastResult = JSON.parse(_getPortSyncEventData(event)); |
80 }, false); | 81 }, false); |
81 _callPortInitialized = true; | 82 _callPortInitialized = true; |
82 } | 83 } |
83 assert(_callPortLastResult == null); | 84 assert(_callPortLastResult == null); |
84 _dispatchEvent('js-sync-message', {'id': id, 'message': message}); | 85 _dispatchEvent('js-sync-message', {'id': id, 'message': message}); |
85 var result = _callPortLastResult; | 86 var result = _callPortLastResult; |
86 _callPortLastResult = null; | 87 _callPortLastResult = null; |
87 return result; | 88 return result; |
88 } | 89 } |
OLD | NEW |