Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 16376006: Fixing HttpRequest.upload.onProgress. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tests/html/xhr_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | tests/html/xhr_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698