| 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__DOMApplicationCache_oncached(this)
; } | 14 EventListener get oncached() { return _get_oncached(this); } |
| 15 static EventListener _get__DOMApplicationCache_oncached(var _this) native; | 15 static EventListener _get_oncached(var _this) native; |
| 16 | 16 |
| 17 void set oncached(EventListener value) { _set__DOMApplicationCache_oncached(th
is, value); } | 17 void set oncached(EventListener value) { _set_oncached(this, value); } |
| 18 static void _set__DOMApplicationCache_oncached(var _this, EventListener value)
native; | 18 static void _set_oncached(var _this, EventListener value) native; |
| 19 | 19 |
| 20 EventListener get onchecking() { return _get__DOMApplicationCache_onchecking(t
his); } | 20 EventListener get onchecking() { return _get_onchecking(this); } |
| 21 static EventListener _get__DOMApplicationCache_onchecking(var _this) native; | 21 static EventListener _get_onchecking(var _this) native; |
| 22 | 22 |
| 23 void set onchecking(EventListener value) { _set__DOMApplicationCache_oncheckin
g(this, value); } | 23 void set onchecking(EventListener value) { _set_onchecking(this, value); } |
| 24 static void _set__DOMApplicationCache_onchecking(var _this, EventListener valu
e) native; | 24 static void _set_onchecking(var _this, EventListener value) native; |
| 25 | 25 |
| 26 EventListener get ondownloading() { return _get__DOMApplicationCache_ondownloa
ding(this); } | 26 EventListener get ondownloading() { return _get_ondownloading(this); } |
| 27 static EventListener _get__DOMApplicationCache_ondownloading(var _this) native
; | 27 static EventListener _get_ondownloading(var _this) native; |
| 28 | 28 |
| 29 void set ondownloading(EventListener value) { _set__DOMApplicationCache_ondown
loading(this, value); } | 29 void set ondownloading(EventListener value) { _set_ondownloading(this, value);
} |
| 30 static void _set__DOMApplicationCache_ondownloading(var _this, EventListener v
alue) native; | 30 static void _set_ondownloading(var _this, EventListener value) native; |
| 31 | 31 |
| 32 EventListener get onerror() { return _get__DOMApplicationCache_onerror(this);
} | 32 EventListener get onerror() { return _get_onerror(this); } |
| 33 static EventListener _get__DOMApplicationCache_onerror(var _this) native; | 33 static EventListener _get_onerror(var _this) native; |
| 34 | 34 |
| 35 void set onerror(EventListener value) { _set__DOMApplicationCache_onerror(this
, value); } | 35 void set onerror(EventListener value) { _set_onerror(this, value); } |
| 36 static void _set__DOMApplicationCache_onerror(var _this, EventListener value)
native; | 36 static void _set_onerror(var _this, EventListener value) native; |
| 37 | 37 |
| 38 EventListener get onnoupdate() { return _get__DOMApplicationCache_onnoupdate(t
his); } | 38 EventListener get onnoupdate() { return _get_onnoupdate(this); } |
| 39 static EventListener _get__DOMApplicationCache_onnoupdate(var _this) native; | 39 static EventListener _get_onnoupdate(var _this) native; |
| 40 | 40 |
| 41 void set onnoupdate(EventListener value) { _set__DOMApplicationCache_onnoupdat
e(this, value); } | 41 void set onnoupdate(EventListener value) { _set_onnoupdate(this, value); } |
| 42 static void _set__DOMApplicationCache_onnoupdate(var _this, EventListener valu
e) native; | 42 static void _set_onnoupdate(var _this, EventListener value) native; |
| 43 | 43 |
| 44 EventListener get onobsolete() { return _get__DOMApplicationCache_onobsolete(t
his); } | 44 EventListener get onobsolete() { return _get_onobsolete(this); } |
| 45 static EventListener _get__DOMApplicationCache_onobsolete(var _this) native; | 45 static EventListener _get_onobsolete(var _this) native; |
| 46 | 46 |
| 47 void set onobsolete(EventListener value) { _set__DOMApplicationCache_onobsolet
e(this, value); } | 47 void set onobsolete(EventListener value) { _set_onobsolete(this, value); } |
| 48 static void _set__DOMApplicationCache_onobsolete(var _this, EventListener valu
e) native; | 48 static void _set_onobsolete(var _this, EventListener value) native; |
| 49 | 49 |
| 50 EventListener get onprogress() { return _get__DOMApplicationCache_onprogress(t
his); } | 50 EventListener get onprogress() { return _get_onprogress(this); } |
| 51 static EventListener _get__DOMApplicationCache_onprogress(var _this) native; | 51 static EventListener _get_onprogress(var _this) native; |
| 52 | 52 |
| 53 void set onprogress(EventListener value) { _set__DOMApplicationCache_onprogres
s(this, value); } | 53 void set onprogress(EventListener value) { _set_onprogress(this, value); } |
| 54 static void _set__DOMApplicationCache_onprogress(var _this, EventListener valu
e) native; | 54 static void _set_onprogress(var _this, EventListener value) native; |
| 55 | 55 |
| 56 EventListener get onupdateready() { return _get__DOMApplicationCache_onupdater
eady(this); } | 56 EventListener get onupdateready() { return _get_onupdateready(this); } |
| 57 static EventListener _get__DOMApplicationCache_onupdateready(var _this) native
; | 57 static EventListener _get_onupdateready(var _this) native; |
| 58 | 58 |
| 59 void set onupdateready(EventListener value) { _set__DOMApplicationCache_onupda
teready(this, value); } | 59 void set onupdateready(EventListener value) { _set_onupdateready(this, value);
} |
| 60 static void _set__DOMApplicationCache_onupdateready(var _this, EventListener v
alue) native; | 60 static void _set_onupdateready(var _this, EventListener value) native; |
| 61 | 61 |
| 62 int get status() { return _get__DOMApplicationCache_status(this); } | 62 int get status() { return _get_status(this); } |
| 63 static int _get__DOMApplicationCache_status(var _this) native; | 63 static int _get_status(var _this) native; |
| 64 | 64 |
| 65 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 65 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 66 if (useCapture === null) { | 66 if (useCapture === null) { |
| 67 _addEventListener(this, type, listener); | 67 _addEventListener_DOMApplicationCache(this, type, listener); |
| 68 return; | 68 return; |
| 69 } else { | 69 } else { |
| 70 _addEventListener_2(this, type, listener, useCapture); | 70 _addEventListener_DOMApplicationCache_2(this, type, listener, useCapture); |
| 71 return; | 71 return; |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 static void _addEventListener(receiver, type, listener) native; | 74 static void _addEventListener_DOMApplicationCache(receiver, type, listener) na
tive; |
| 75 static void _addEventListener_2(receiver, type, listener, useCapture) native; | 75 static void _addEventListener_DOMApplicationCache_2(receiver, type, listener,
useCapture) native; |
| 76 | 76 |
| 77 bool dispatchEvent(Event evt) { | 77 bool dispatchEvent(Event evt) { |
| 78 return _dispatchEvent(this, evt); | 78 return _dispatchEvent_DOMApplicationCache(this, evt); |
| 79 } | 79 } |
| 80 static bool _dispatchEvent(receiver, evt) native; | 80 static bool _dispatchEvent_DOMApplicationCache(receiver, evt) native; |
| 81 | 81 |
| 82 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { | 82 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { |
| 83 if (useCapture === null) { | 83 if (useCapture === null) { |
| 84 _removeEventListener(this, type, listener); | 84 _removeEventListener_DOMApplicationCache(this, type, listener); |
| 85 return; | 85 return; |
| 86 } else { | 86 } else { |
| 87 _removeEventListener_2(this, type, listener, useCapture); | 87 _removeEventListener_DOMApplicationCache_2(this, type, listener, useCaptur
e); |
| 88 return; | 88 return; |
| 89 } | 89 } |
| 90 } | 90 } |
| 91 static void _removeEventListener(receiver, type, listener) native; | 91 static void _removeEventListener_DOMApplicationCache(receiver, type, listener)
native; |
| 92 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ
e; | 92 static void _removeEventListener_DOMApplicationCache_2(receiver, type, listene
r, useCapture) native; |
| 93 | 93 |
| 94 void swapCache() { | 94 void swapCache() { |
| 95 _swapCache(this); | 95 _swapCache(this); |
| 96 return; | 96 return; |
| 97 } | 97 } |
| 98 static void _swapCache(receiver) native; | 98 static void _swapCache(receiver) native; |
| 99 | 99 |
| 100 void update() { | 100 void update() { |
| 101 _update(this); | 101 _update(this); |
| 102 return; | 102 return; |
| 103 } | 103 } |
| 104 static void _update(receiver) native; | 104 static void _update(receiver) native; |
| 105 | 105 |
| 106 String get typeName() { return "DOMApplicationCache"; } | 106 String get typeName() { return "DOMApplicationCache"; } |
| 107 } | 107 } |
| OLD | NEW |