| 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 _IDBRequestWrappingImplementation extends DOMWrapperBase implements IDBReq
uest { | 7 class _IDBRequestWrappingImplementation extends DOMWrapperBase implements IDBReq
uest { |
| 8 _IDBRequestWrappingImplementation() : super() {} | 8 _IDBRequestWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__IDBRequestWrappingImplementation() native { | 10 static create__IDBRequestWrappingImplementation() native { |
| 11 return new _IDBRequestWrappingImplementation(); | 11 return new _IDBRequestWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get errorCode() { return _get__IDBRequest_errorCode(this); } | 14 int get errorCode() { return _get_errorCode(this); } |
| 15 static int _get__IDBRequest_errorCode(var _this) native; | 15 static int _get_errorCode(var _this) native; |
| 16 | 16 |
| 17 EventListener get onerror() { return _get__IDBRequest_onerror(this); } | 17 EventListener get onerror() { return _get_onerror(this); } |
| 18 static EventListener _get__IDBRequest_onerror(var _this) native; | 18 static EventListener _get_onerror(var _this) native; |
| 19 | 19 |
| 20 void set onerror(EventListener value) { _set__IDBRequest_onerror(this, value);
} | 20 void set onerror(EventListener value) { _set_onerror(this, value); } |
| 21 static void _set__IDBRequest_onerror(var _this, EventListener value) native; | 21 static void _set_onerror(var _this, EventListener value) native; |
| 22 | 22 |
| 23 EventListener get onsuccess() { return _get__IDBRequest_onsuccess(this); } | 23 EventListener get onsuccess() { return _get_onsuccess(this); } |
| 24 static EventListener _get__IDBRequest_onsuccess(var _this) native; | 24 static EventListener _get_onsuccess(var _this) native; |
| 25 | 25 |
| 26 void set onsuccess(EventListener value) { _set__IDBRequest_onsuccess(this, val
ue); } | 26 void set onsuccess(EventListener value) { _set_onsuccess(this, value); } |
| 27 static void _set__IDBRequest_onsuccess(var _this, EventListener value) native; | 27 static void _set_onsuccess(var _this, EventListener value) native; |
| 28 | 28 |
| 29 int get readyState() { return _get__IDBRequest_readyState(this); } | 29 int get readyState() { return _get_readyState(this); } |
| 30 static int _get__IDBRequest_readyState(var _this) native; | 30 static int _get_readyState(var _this) native; |
| 31 | 31 |
| 32 IDBAny get result() { return _get__IDBRequest_result(this); } | 32 IDBAny get result() { return _get_result(this); } |
| 33 static IDBAny _get__IDBRequest_result(var _this) native; | 33 static IDBAny _get_result(var _this) native; |
| 34 | 34 |
| 35 IDBAny get source() { return _get__IDBRequest_source(this); } | 35 IDBAny get source() { return _get_source(this); } |
| 36 static IDBAny _get__IDBRequest_source(var _this) native; | 36 static IDBAny _get_source(var _this) native; |
| 37 | 37 |
| 38 IDBTransaction get transaction() { return _get__IDBRequest_transaction(this);
} | 38 IDBTransaction get transaction() { return _get_transaction(this); } |
| 39 static IDBTransaction _get__IDBRequest_transaction(var _this) native; | 39 static IDBTransaction _get_transaction(var _this) native; |
| 40 | 40 |
| 41 String get webkitErrorMessage() { return _get__IDBRequest_webkitErrorMessage(t
his); } | 41 String get webkitErrorMessage() { return _get_webkitErrorMessage(this); } |
| 42 static String _get__IDBRequest_webkitErrorMessage(var _this) native; | 42 static String _get_webkitErrorMessage(var _this) 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); |
| 47 return; | 47 return; |
| 48 } else { | 48 } else { |
| 49 _addEventListener_2(this, type, listener, useCapture); | 49 _addEventListener_2(this, type, listener, useCapture); |
| 50 return; | 50 return; |
| 51 } | 51 } |
| 52 } | 52 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 65 } else { | 65 } else { |
| 66 _removeEventListener_2(this, type, listener, useCapture); | 66 _removeEventListener_2(this, type, listener, useCapture); |
| 67 return; | 67 return; |
| 68 } | 68 } |
| 69 } | 69 } |
| 70 static void _removeEventListener(receiver, type, listener) native; | 70 static void _removeEventListener(receiver, type, listener) native; |
| 71 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ
e; | 71 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ
e; |
| 72 | 72 |
| 73 String get typeName() { return "IDBRequest"; } | 73 String get typeName() { return "IDBRequest"; } |
| 74 } | 74 } |
| OLD | NEW |