| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _ProgressEventWrappingImplementation extends _EventWrappingImplementation
implements ProgressEvent { | 7 class _ProgressEventWrappingImplementation extends _EventWrappingImplementation
implements ProgressEvent { |
| 8 _ProgressEventWrappingImplementation() : super() {} | 8 _ProgressEventWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__ProgressEventWrappingImplementation() native { | 10 static create__ProgressEventWrappingImplementation() native { |
| 11 return new _ProgressEventWrappingImplementation(); | 11 return new _ProgressEventWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get lengthComputable() { return _get_lengthComputable(this); } | 14 bool get lengthComputable() { return _get_lengthComputable(this); } |
| 15 static bool _get_lengthComputable(var _this) native; | 15 static bool _get_lengthComputable(var _this) native; |
| 16 | 16 |
| 17 int get loaded() { return _get_loaded(this); } | 17 int get loaded() { return _get_loaded(this); } |
| 18 static int _get_loaded(var _this) native; | 18 static int _get_loaded(var _this) native; |
| 19 | 19 |
| 20 int get total() { return _get_total(this); } | 20 int get total() { return _get_total(this); } |
| 21 static int _get_total(var _this) native; | 21 static int _get_total(var _this) native; |
| 22 | 22 |
| 23 void initProgressEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
bool lengthComputableArg, int loadedArg, int totalArg) { | |
| 24 _initProgressEvent(this, typeArg, canBubbleArg, cancelableArg, lengthComputa
bleArg, loadedArg, totalArg); | |
| 25 return; | |
| 26 } | |
| 27 static void _initProgressEvent(receiver, typeArg, canBubbleArg, cancelableArg,
lengthComputableArg, loadedArg, totalArg) native; | |
| 28 | |
| 29 String get typeName() { return "ProgressEvent"; } | 23 String get typeName() { return "ProgressEvent"; } |
| 30 } | 24 } |
| OLD | NEW |