| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 library dart.dom.html; | 2 library dart.dom.html; |
| 3 | 3 |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
| (...skipping 11863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11874 } | 11874 } |
| 11875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11876 // for details. All rights reserved. Use of this source code is governed by a | 11876 // for details. All rights reserved. Use of this source code is governed by a |
| 11877 // BSD-style license that can be found in the LICENSE file. | 11877 // BSD-style license that can be found in the LICENSE file. |
| 11878 | 11878 |
| 11879 | 11879 |
| 11880 @DocsEditable | 11880 @DocsEditable |
| 11881 @DomName('XMLHttpRequestUpload') | 11881 @DomName('XMLHttpRequestUpload') |
| 11882 // http://xhr.spec.whatwg.org/#xmlhttprequestupload | 11882 // http://xhr.spec.whatwg.org/#xmlhttprequestupload |
| 11883 @Experimental | 11883 @Experimental |
| 11884 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload" { | 11884 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload,XMLHttp
RequestEventTarget" { |
| 11885 | 11885 |
| 11886 @DomName('XMLHttpRequestUpload.abortEvent') | 11886 @DomName('XMLHttpRequestUpload.abortEvent') |
| 11887 @DocsEditable | 11887 @DocsEditable |
| 11888 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 11888 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 11889 | 11889 |
| 11890 @DomName('XMLHttpRequestUpload.errorEvent') | 11890 @DomName('XMLHttpRequestUpload.errorEvent') |
| 11891 @DocsEditable | 11891 @DocsEditable |
| 11892 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); | 11892 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); |
| 11893 | 11893 |
| 11894 @DomName('XMLHttpRequestUpload.loadEvent') | 11894 @DomName('XMLHttpRequestUpload.loadEvent') |
| (...skipping 17462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29357 _position = nextPosition; | 29357 _position = nextPosition; |
| 29358 return true; | 29358 return true; |
| 29359 } | 29359 } |
| 29360 _current = null; | 29360 _current = null; |
| 29361 _position = _array.length; | 29361 _position = _array.length; |
| 29362 return false; | 29362 return false; |
| 29363 } | 29363 } |
| 29364 | 29364 |
| 29365 T get current => _current; | 29365 T get current => _current; |
| 29366 } | 29366 } |
| OLD | NEW |