| 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 _DOMApplicationCacheWrappingImplementation extends DOMWrapperBase implemen
ts DOMApplicationCache { | 7 class _DOMApplicationCacheWrappingImplementation extends DOMWrapperBase implemen
ts DOMApplicationCache { |
| 8 _DOMApplicationCacheWrappingImplementation() : super() {} | 8 _DOMApplicationCacheWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DOMApplicationCacheWrappingImplementation() native { | 10 static create__DOMApplicationCacheWrappingImplementation() native { |
| 11 return new _DOMApplicationCacheWrappingImplementation(); | 11 return new _DOMApplicationCacheWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 EventListener get oncached() { return _get_oncached(this); } | |
| 15 static EventListener _get_oncached(var _this) native; | |
| 16 | |
| 17 void set oncached(EventListener value) { _set_oncached(this, value); } | |
| 18 static void _set_oncached(var _this, EventListener value) native; | |
| 19 | |
| 20 EventListener get onchecking() { return _get_onchecking(this); } | |
| 21 static EventListener _get_onchecking(var _this) native; | |
| 22 | |
| 23 void set onchecking(EventListener value) { _set_onchecking(this, value); } | |
| 24 static void _set_onchecking(var _this, EventListener value) native; | |
| 25 | |
| 26 EventListener get ondownloading() { return _get_ondownloading(this); } | |
| 27 static EventListener _get_ondownloading(var _this) native; | |
| 28 | |
| 29 void set ondownloading(EventListener value) { _set_ondownloading(this, value);
} | |
| 30 static void _set_ondownloading(var _this, EventListener value) native; | |
| 31 | |
| 32 EventListener get onerror() { return _get_onerror(this); } | |
| 33 static EventListener _get_onerror(var _this) native; | |
| 34 | |
| 35 void set onerror(EventListener value) { _set_onerror(this, value); } | |
| 36 static void _set_onerror(var _this, EventListener value) native; | |
| 37 | |
| 38 EventListener get onnoupdate() { return _get_onnoupdate(this); } | |
| 39 static EventListener _get_onnoupdate(var _this) native; | |
| 40 | |
| 41 void set onnoupdate(EventListener value) { _set_onnoupdate(this, value); } | |
| 42 static void _set_onnoupdate(var _this, EventListener value) native; | |
| 43 | |
| 44 EventListener get onobsolete() { return _get_onobsolete(this); } | |
| 45 static EventListener _get_onobsolete(var _this) native; | |
| 46 | |
| 47 void set onobsolete(EventListener value) { _set_onobsolete(this, value); } | |
| 48 static void _set_onobsolete(var _this, EventListener value) native; | |
| 49 | |
| 50 EventListener get onprogress() { return _get_onprogress(this); } | |
| 51 static EventListener _get_onprogress(var _this) native; | |
| 52 | |
| 53 void set onprogress(EventListener value) { _set_onprogress(this, value); } | |
| 54 static void _set_onprogress(var _this, EventListener value) native; | |
| 55 | |
| 56 EventListener get onupdateready() { return _get_onupdateready(this); } | |
| 57 static EventListener _get_onupdateready(var _this) native; | |
| 58 | |
| 59 void set onupdateready(EventListener value) { _set_onupdateready(this, value);
} | |
| 60 static void _set_onupdateready(var _this, EventListener value) native; | |
| 61 | |
| 62 int get status() { return _get_status(this); } | 14 int get status() { return _get_status(this); } |
| 63 static int _get_status(var _this) native; | 15 static int _get_status(var _this) native; |
| 64 | 16 |
| 65 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 17 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 66 if (useCapture === null) { | 18 if (useCapture === null) { |
| 67 _addEventListener_DOMApplicationCache(this, type, listener); | 19 _addEventListener_DOMApplicationCache(this, type, listener); |
| 68 return; | 20 return; |
| 69 } else { | 21 } else { |
| 70 _addEventListener_DOMApplicationCache_2(this, type, listener, useCapture); | 22 _addEventListener_DOMApplicationCache_2(this, type, listener, useCapture); |
| 71 return; | 23 return; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 98 static void _swapCache(receiver) native; | 50 static void _swapCache(receiver) native; |
| 99 | 51 |
| 100 void update() { | 52 void update() { |
| 101 _update(this); | 53 _update(this); |
| 102 return; | 54 return; |
| 103 } | 55 } |
| 104 static void _update(receiver) native; | 56 static void _update(receiver) native; |
| 105 | 57 |
| 106 String get typeName() { return "DOMApplicationCache"; } | 58 String get typeName() { return "DOMApplicationCache"; } |
| 107 } | 59 } |
| OLD | NEW |