| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 class XMLHttpRequestUploadEventsImplementation extends EventsImplementation | |
| 6 implements XMLHttpRequestUploadEvents { | |
| 7 XMLHttpRequestUploadEventsImplementation._wrap(_ptr) : super._wrap(_ptr); | |
| 8 | |
| 9 EventListenerList get abort() => _get('abort'); | |
| 10 EventListenerList get error() => _get('error'); | |
| 11 EventListenerList get load() => _get('load'); | |
| 12 EventListenerList get loadStart() => _get('loadstart'); | |
| 13 EventListenerList get progress() => _get('progress'); | |
| 14 } | |
| 15 | |
| 16 class XMLHttpRequestUploadWrappingImplementation extends EventTargetWrappingImpl
ementation implements XMLHttpRequestUpload { | |
| 17 XMLHttpRequestUploadWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 18 | |
| 19 XMLHttpRequestUploadEvents get on() { | |
| 20 if (_on === null) { | |
| 21 _on = new XMLHttpRequestUploadEventsImplementation._wrap(_ptr); | |
| 22 } | |
| 23 return _on; | |
| 24 } | |
| 25 } | |
| OLD | NEW |