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 int get status() { return _get_status(this); } | 14 int get status() { return _get_status(this); } |
15 static int _get_status(var _this) native; | 15 static int _get_status(var _this) native; |
16 | 16 |
| 17 void abort() { |
| 18 _abort(this); |
| 19 return; |
| 20 } |
| 21 static void _abort(receiver) native; |
| 22 |
17 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 23 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
18 if (useCapture === null) { | 24 if (useCapture === null) { |
19 _addEventListener_DOMApplicationCache(this, type, listener); | 25 _addEventListener_DOMApplicationCache(this, type, listener); |
20 return; | 26 return; |
21 } else { | 27 } else { |
22 _addEventListener_DOMApplicationCache_2(this, type, listener, useCapture); | 28 _addEventListener_DOMApplicationCache_2(this, type, listener, useCapture); |
23 return; | 29 return; |
24 } | 30 } |
25 } | 31 } |
26 static void _addEventListener_DOMApplicationCache(receiver, type, listener) na
tive; | 32 static void _addEventListener_DOMApplicationCache(receiver, type, listener) na
tive; |
(...skipping 23 matching lines...) Expand all Loading... |
50 static void _swapCache(receiver) native; | 56 static void _swapCache(receiver) native; |
51 | 57 |
52 void update() { | 58 void update() { |
53 _update(this); | 59 _update(this); |
54 return; | 60 return; |
55 } | 61 } |
56 static void _update(receiver) native; | 62 static void _update(receiver) native; |
57 | 63 |
58 String get typeName() { return "DOMApplicationCache"; } | 64 String get typeName() { return "DOMApplicationCache"; } |
59 } | 65 } |
OLD | NEW |