OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class _DatabaseWrappingImplementation extends DOMWrapperBase implements Database
{ | |
8 _DatabaseWrappingImplementation() : super() {} | |
9 | |
10 static create__DatabaseWrappingImplementation() native { | |
11 return new _DatabaseWrappingImplementation(); | |
12 } | |
13 | |
14 String get version() { return _get_version(this); } | |
15 static String _get_version(var _this) native; | |
16 | |
17 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba
ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba
ck successCallback = null]) { | |
18 _changeVersion(this, oldVersion, newVersion, callback, errorCallback, succes
sCallback); | |
19 return; | |
20 } | |
21 static void _changeVersion(receiver, oldVersion, newVersion, callback, errorCa
llback, successCallback) native; | |
22 | |
23 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback = null, VoidCallback successCallback = null]) { | |
24 _readTransaction(this, callback, errorCallback, successCallback); | |
25 return; | |
26 } | |
27 static void _readTransaction(receiver, callback, errorCallback, successCallbac
k) native; | |
28 | |
29 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback = null, VoidCallback successCallback = null]) { | |
30 _transaction(this, callback, errorCallback, successCallback); | |
31 return; | |
32 } | |
33 static void _transaction(receiver, callback, errorCallback, successCallback) n
ative; | |
34 | |
35 String get typeName() { return "Database"; } | |
36 } | |
OLD | NEW |