OLD | NEW |
1 | 1 |
2 class _DOMApplicationCacheImpl extends _EventTargetImpl implements DOMApplicatio
nCache { | 2 class _DOMApplicationCacheImpl extends _EventTargetImpl implements DOMApplicatio
nCache { |
3 _DOMApplicationCacheImpl._wrap(ptr) : super._wrap(ptr); | 3 _DOMApplicationCacheImpl._wrap(ptr) : super._wrap(ptr); |
4 | 4 |
5 int get status() => _wrap(_ptr.status); | |
6 | |
7 _DOMApplicationCacheEventsImpl get on() { | 5 _DOMApplicationCacheEventsImpl get on() { |
8 if (_on == null) _on = new _DOMApplicationCacheEventsImpl(this); | 6 if (_on == null) _on = new _DOMApplicationCacheEventsImpl(this); |
9 return _on; | 7 return _on; |
10 } | 8 } |
11 | 9 |
| 10 int get status() => _wrap(_ptr.status); |
| 11 |
12 void abort() { | 12 void abort() { |
13 _ptr.abort(); | 13 _ptr.abort(); |
14 return; | 14 return; |
15 } | 15 } |
16 | 16 |
17 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 17 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
18 if (useCapture === null) { | 18 if (useCapture === null) { |
19 _ptr.addEventListener(_unwrap(type), _unwrap(listener)); | 19 _ptr.addEventListener(_unwrap(type), _unwrap(listener)); |
20 return; | 20 return; |
21 } else { | 21 } else { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 EventListenerList get error() => _get('error'); | 61 EventListenerList get error() => _get('error'); |
62 | 62 |
63 EventListenerList get noUpdate() => _get('noupdate'); | 63 EventListenerList get noUpdate() => _get('noupdate'); |
64 | 64 |
65 EventListenerList get obsolete() => _get('obsolete'); | 65 EventListenerList get obsolete() => _get('obsolete'); |
66 | 66 |
67 EventListenerList get progress() => _get('progress'); | 67 EventListenerList get progress() => _get('progress'); |
68 | 68 |
69 EventListenerList get updateReady() => _get('updateready'); | 69 EventListenerList get updateReady() => _get('updateready'); |
70 } | 70 } |
OLD | NEW |