| 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 _IDBTransactionWrappingImplementation extends DOMWrapperBase implements ID
BTransaction { | 7 class _IDBTransactionWrappingImplementation extends DOMWrapperBase implements ID
BTransaction { |
| 8 _IDBTransactionWrappingImplementation() : super() {} | 8 _IDBTransactionWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__IDBTransactionWrappingImplementation() native { | 10 static create__IDBTransactionWrappingImplementation() native { |
| 11 return new _IDBTransactionWrappingImplementation(); | 11 return new _IDBTransactionWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 IDBDatabase get db() { return _get__IDBTransaction_db(this); } | 14 IDBDatabase get db() { return _get_db(this); } |
| 15 static IDBDatabase _get__IDBTransaction_db(var _this) native; | 15 static IDBDatabase _get_db(var _this) native; |
| 16 | 16 |
| 17 int get mode() { return _get__IDBTransaction_mode(this); } | 17 int get mode() { return _get_mode(this); } |
| 18 static int _get__IDBTransaction_mode(var _this) native; | 18 static int _get_mode(var _this) native; |
| 19 | 19 |
| 20 EventListener get onabort() { return _get__IDBTransaction_onabort(this); } | 20 EventListener get onabort() { return _get_onabort(this); } |
| 21 static EventListener _get__IDBTransaction_onabort(var _this) native; | 21 static EventListener _get_onabort(var _this) native; |
| 22 | 22 |
| 23 void set onabort(EventListener value) { _set__IDBTransaction_onabort(this, val
ue); } | 23 void set onabort(EventListener value) { _set_onabort(this, value); } |
| 24 static void _set__IDBTransaction_onabort(var _this, EventListener value) nativ
e; | 24 static void _set_onabort(var _this, EventListener value) native; |
| 25 | 25 |
| 26 EventListener get oncomplete() { return _get__IDBTransaction_oncomplete(this);
} | 26 EventListener get oncomplete() { return _get_oncomplete(this); } |
| 27 static EventListener _get__IDBTransaction_oncomplete(var _this) native; | 27 static EventListener _get_oncomplete(var _this) native; |
| 28 | 28 |
| 29 void set oncomplete(EventListener value) { _set__IDBTransaction_oncomplete(thi
s, value); } | 29 void set oncomplete(EventListener value) { _set_oncomplete(this, value); } |
| 30 static void _set__IDBTransaction_oncomplete(var _this, EventListener value) na
tive; | 30 static void _set_oncomplete(var _this, EventListener value) native; |
| 31 | 31 |
| 32 EventListener get onerror() { return _get__IDBTransaction_onerror(this); } | 32 EventListener get onerror() { return _get_onerror(this); } |
| 33 static EventListener _get__IDBTransaction_onerror(var _this) native; | 33 static EventListener _get_onerror(var _this) native; |
| 34 | 34 |
| 35 void set onerror(EventListener value) { _set__IDBTransaction_onerror(this, val
ue); } | 35 void set onerror(EventListener value) { _set_onerror(this, value); } |
| 36 static void _set__IDBTransaction_onerror(var _this, EventListener value) nativ
e; | 36 static void _set_onerror(var _this, EventListener value) native; |
| 37 | 37 |
| 38 void abort() { | 38 void abort() { |
| 39 _abort(this); | 39 _abort(this); |
| 40 return; | 40 return; |
| 41 } | 41 } |
| 42 static void _abort(receiver) native; | 42 static void _abort(receiver) native; |
| 43 | 43 |
| 44 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 44 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 45 if (useCapture === null) { | 45 if (useCapture === null) { |
| 46 _addEventListener(this, type, listener); | 46 _addEventListener(this, type, listener); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 70 } else { | 70 } else { |
| 71 _removeEventListener_2(this, type, listener, useCapture); | 71 _removeEventListener_2(this, type, listener, useCapture); |
| 72 return; | 72 return; |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 static void _removeEventListener(receiver, type, listener) native; | 75 static void _removeEventListener(receiver, type, listener) native; |
| 76 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ
e; | 76 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ
e; |
| 77 | 77 |
| 78 String get typeName() { return "IDBTransaction"; } | 78 String get typeName() { return "IDBTransaction"; } |
| 79 } | 79 } |
| OLD | NEW |