| OLD | NEW |
| 1 /** | 1 /** |
| 2 * An API for storing data in the browser that can be queried with SQL. | 2 * An API for storing data in the browser that can be queried with SQL. |
| 3 * | 3 * |
| 4 * **Caution:** this specification is no longer actively maintained by the Web | 4 * **Caution:** this specification is no longer actively maintained by the Web |
| 5 * Applications Working Group and may be removed at any time. | 5 * Applications Working Group and may be removed at any time. |
| 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase
/) | 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase
/) |
| 7 * for more information. | 7 * for more information. |
| 8 * | 8 * |
| 9 * The [dart:indexed_db] APIs is a recommended alternatives. | 9 * The [dart:indexed_db] APIs is a recommended alternatives. |
| 10 */ | 10 */ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 26 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27 // for details. All rights reserved. Use of this source code is governed by a | 27 // for details. All rights reserved. Use of this source code is governed by a |
| 28 // BSD-style license that can be found in the LICENSE file. | 28 // BSD-style license that can be found in the LICENSE file. |
| 29 | 29 |
| 30 // WARNING: Do not edit - generated code. | 30 // WARNING: Do not edit - generated code. |
| 31 | 31 |
| 32 | 32 |
| 33 @DomName('SQLStatementCallback') | 33 @DomName('SQLStatementCallback') |
| 34 // http://www.w3.org/TR/webdatabase/#sqlstatementcallback | 34 // http://www.w3.org/TR/webdatabase/#sqlstatementcallback |
| 35 @Experimental // deprecated | 35 @Experimental() // deprecated |
| 36 typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resul
tSet); | 36 typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resul
tSet); |
| 37 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 37 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 38 // for details. All rights reserved. Use of this source code is governed by a | 38 // for details. All rights reserved. Use of this source code is governed by a |
| 39 // BSD-style license that can be found in the LICENSE file. | 39 // BSD-style license that can be found in the LICENSE file. |
| 40 | 40 |
| 41 // WARNING: Do not edit - generated code. | 41 // WARNING: Do not edit - generated code. |
| 42 | 42 |
| 43 | 43 |
| 44 @DomName('SQLStatementErrorCallback') | 44 @DomName('SQLStatementErrorCallback') |
| 45 // http://www.w3.org/TR/webdatabase/#sqlstatementerrorcallback | 45 // http://www.w3.org/TR/webdatabase/#sqlstatementerrorcallback |
| 46 @Experimental // deprecated | 46 @Experimental() // deprecated |
| 47 typedef void SqlStatementErrorCallback(SqlTransaction transaction, SqlError erro
r); | 47 typedef void SqlStatementErrorCallback(SqlTransaction transaction, SqlError erro
r); |
| 48 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 48 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 49 // for details. All rights reserved. Use of this source code is governed by a | 49 // for details. All rights reserved. Use of this source code is governed by a |
| 50 // BSD-style license that can be found in the LICENSE file. | 50 // BSD-style license that can be found in the LICENSE file. |
| 51 | 51 |
| 52 // WARNING: Do not edit - generated code. | 52 // WARNING: Do not edit - generated code. |
| 53 | 53 |
| 54 | 54 |
| 55 @DomName('SQLTransactionCallback') | 55 @DomName('SQLTransactionCallback') |
| 56 // http://www.w3.org/TR/webdatabase/#sqltransactioncallback | 56 // http://www.w3.org/TR/webdatabase/#sqltransactioncallback |
| 57 @Experimental // deprecated | 57 @Experimental() // deprecated |
| 58 typedef void SqlTransactionCallback(SqlTransaction transaction); | 58 typedef void SqlTransactionCallback(SqlTransaction transaction); |
| 59 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 59 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 60 // for details. All rights reserved. Use of this source code is governed by a | 60 // for details. All rights reserved. Use of this source code is governed by a |
| 61 // BSD-style license that can be found in the LICENSE file. | 61 // BSD-style license that can be found in the LICENSE file. |
| 62 | 62 |
| 63 // WARNING: Do not edit - generated code. | 63 // WARNING: Do not edit - generated code. |
| 64 | 64 |
| 65 | 65 |
| 66 @DomName('SQLTransactionErrorCallback') | 66 @DomName('SQLTransactionErrorCallback') |
| 67 // http://www.w3.org/TR/webdatabase/#sqltransactionerrorcallback | 67 // http://www.w3.org/TR/webdatabase/#sqltransactionerrorcallback |
| 68 @Experimental // deprecated | 68 @Experimental() // deprecated |
| 69 typedef void SqlTransactionErrorCallback(SqlError error); | 69 typedef void SqlTransactionErrorCallback(SqlError error); |
| 70 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 70 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 71 // for details. All rights reserved. Use of this source code is governed by a | 71 // for details. All rights reserved. Use of this source code is governed by a |
| 72 // BSD-style license that can be found in the LICENSE file. | 72 // BSD-style license that can be found in the LICENSE file. |
| 73 | 73 |
| 74 // WARNING: Do not edit - generated code. | 74 // WARNING: Do not edit - generated code. |
| 75 | 75 |
| 76 | 76 |
| 77 @DocsEditable | 77 @DocsEditable() |
| 78 @DomName('Database') | 78 @DomName('Database') |
| 79 @SupportedBrowser(SupportedBrowser.CHROME) | 79 @SupportedBrowser(SupportedBrowser.CHROME) |
| 80 @SupportedBrowser(SupportedBrowser.SAFARI) | 80 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 81 @Experimental | 81 @Experimental() |
| 82 // http://www.w3.org/TR/webdatabase/#asynchronous-database-api | 82 // http://www.w3.org/TR/webdatabase/#asynchronous-database-api |
| 83 @Experimental // deprecated | 83 @Experimental() // deprecated |
| 84 class SqlDatabase extends NativeFieldWrapperClass1 { | 84 class SqlDatabase extends NativeFieldWrapperClass1 { |
| 85 | 85 |
| 86 /// Checks if this type is supported on the current platform. | 86 /// Checks if this type is supported on the current platform. |
| 87 static bool get supported => true; | 87 static bool get supported => true; |
| 88 | 88 |
| 89 @DomName('Database.version') | 89 @DomName('Database.version') |
| 90 @DocsEditable | 90 @DocsEditable() |
| 91 String get version native "Database_version_Getter"; | 91 String get version native "Database_version_Getter"; |
| 92 | 92 |
| 93 /** | 93 /** |
| 94 * Atomically update the database version to [newVersion], asynchronously | 94 * Atomically update the database version to [newVersion], asynchronously |
| 95 * running [callback] on the [SqlTransaction] representing this | 95 * running [callback] on the [SqlTransaction] representing this |
| 96 * [changeVersion] transaction. | 96 * [changeVersion] transaction. |
| 97 * | 97 * |
| 98 * If [callback] runs successfully, then [successCallback] is called. | 98 * If [callback] runs successfully, then [successCallback] is called. |
| 99 * Otherwise, [errorCallback] is called. | 99 * Otherwise, [errorCallback] is called. |
| 100 * | 100 * |
| 101 * [oldVersion] should match the database's current [version] exactly. | 101 * [oldVersion] should match the database's current [version] exactly. |
| 102 * | 102 * |
| 103 * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom-database-c
hangeversion) from W3C. | 103 * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom-database-c
hangeversion) from W3C. |
| 104 */ | 104 */ |
| 105 @DomName('Database.changeVersion') | 105 @DomName('Database.changeVersion') |
| 106 @DocsEditable | 106 @DocsEditable() |
| 107 void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallba
ck callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCall
back]) native "Database_changeVersion_Callback"; | 107 void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallba
ck callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCall
back]) native "Database_changeVersion_Callback"; |
| 108 | 108 |
| 109 @DomName('Database.readTransaction') | 109 @DomName('Database.readTransaction') |
| 110 @DocsEditable | 110 @DocsEditable() |
| 111 void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCall
back errorCallback, VoidCallback successCallback]) native "Database_readTransact
ion_Callback"; | 111 void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCall
back errorCallback, VoidCallback successCallback]) native "Database_readTransact
ion_Callback"; |
| 112 | 112 |
| 113 @DomName('Database.transaction') | 113 @DomName('Database.transaction') |
| 114 @DocsEditable | 114 @DocsEditable() |
| 115 void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback
errorCallback, VoidCallback successCallback]) native "Database_transaction_Call
back"; | 115 void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback
errorCallback, VoidCallback successCallback]) native "Database_transaction_Call
back"; |
| 116 | 116 |
| 117 } | 117 } |
| 118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 119 // for details. All rights reserved. Use of this source code is governed by a | 119 // for details. All rights reserved. Use of this source code is governed by a |
| 120 // BSD-style license that can be found in the LICENSE file. | 120 // BSD-style license that can be found in the LICENSE file. |
| 121 | 121 |
| 122 // WARNING: Do not edit - generated code. | 122 // WARNING: Do not edit - generated code. |
| 123 | 123 |
| 124 | 124 |
| 125 @DocsEditable | 125 @DocsEditable() |
| 126 @DomName('SQLError') | 126 @DomName('SQLError') |
| 127 // http://www.w3.org/TR/webdatabase/#sqlerror | 127 // http://www.w3.org/TR/webdatabase/#sqlerror |
| 128 @Experimental // deprecated | 128 @Experimental() // deprecated |
| 129 class SqlError extends NativeFieldWrapperClass1 { | 129 class SqlError extends NativeFieldWrapperClass1 { |
| 130 | 130 |
| 131 @DomName('SQLError.CONSTRAINT_ERR') | 131 @DomName('SQLError.CONSTRAINT_ERR') |
| 132 @DocsEditable | 132 @DocsEditable() |
| 133 static const int CONSTRAINT_ERR = 6; | 133 static const int CONSTRAINT_ERR = 6; |
| 134 | 134 |
| 135 @DomName('SQLError.DATABASE_ERR') | 135 @DomName('SQLError.DATABASE_ERR') |
| 136 @DocsEditable | 136 @DocsEditable() |
| 137 static const int DATABASE_ERR = 1; | 137 static const int DATABASE_ERR = 1; |
| 138 | 138 |
| 139 @DomName('SQLError.QUOTA_ERR') | 139 @DomName('SQLError.QUOTA_ERR') |
| 140 @DocsEditable | 140 @DocsEditable() |
| 141 static const int QUOTA_ERR = 4; | 141 static const int QUOTA_ERR = 4; |
| 142 | 142 |
| 143 @DomName('SQLError.SYNTAX_ERR') | 143 @DomName('SQLError.SYNTAX_ERR') |
| 144 @DocsEditable | 144 @DocsEditable() |
| 145 static const int SYNTAX_ERR = 5; | 145 static const int SYNTAX_ERR = 5; |
| 146 | 146 |
| 147 @DomName('SQLError.TIMEOUT_ERR') | 147 @DomName('SQLError.TIMEOUT_ERR') |
| 148 @DocsEditable | 148 @DocsEditable() |
| 149 static const int TIMEOUT_ERR = 7; | 149 static const int TIMEOUT_ERR = 7; |
| 150 | 150 |
| 151 @DomName('SQLError.TOO_LARGE_ERR') | 151 @DomName('SQLError.TOO_LARGE_ERR') |
| 152 @DocsEditable | 152 @DocsEditable() |
| 153 static const int TOO_LARGE_ERR = 3; | 153 static const int TOO_LARGE_ERR = 3; |
| 154 | 154 |
| 155 @DomName('SQLError.UNKNOWN_ERR') | 155 @DomName('SQLError.UNKNOWN_ERR') |
| 156 @DocsEditable | 156 @DocsEditable() |
| 157 static const int UNKNOWN_ERR = 0; | 157 static const int UNKNOWN_ERR = 0; |
| 158 | 158 |
| 159 @DomName('SQLError.VERSION_ERR') | 159 @DomName('SQLError.VERSION_ERR') |
| 160 @DocsEditable | 160 @DocsEditable() |
| 161 static const int VERSION_ERR = 2; | 161 static const int VERSION_ERR = 2; |
| 162 | 162 |
| 163 @DomName('SQLError.code') | 163 @DomName('SQLError.code') |
| 164 @DocsEditable | 164 @DocsEditable() |
| 165 int get code native "SQLError_code_Getter"; | 165 int get code native "SQLError_code_Getter"; |
| 166 | 166 |
| 167 @DomName('SQLError.message') | 167 @DomName('SQLError.message') |
| 168 @DocsEditable | 168 @DocsEditable() |
| 169 String get message native "SQLError_message_Getter"; | 169 String get message native "SQLError_message_Getter"; |
| 170 | 170 |
| 171 } | 171 } |
| 172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 173 // for details. All rights reserved. Use of this source code is governed by a | 173 // for details. All rights reserved. Use of this source code is governed by a |
| 174 // BSD-style license that can be found in the LICENSE file. | 174 // BSD-style license that can be found in the LICENSE file. |
| 175 | 175 |
| 176 // WARNING: Do not edit - generated code. | 176 // WARNING: Do not edit - generated code. |
| 177 | 177 |
| 178 | 178 |
| 179 @DocsEditable | 179 @DocsEditable() |
| 180 @DomName('SQLException') | 180 @DomName('SQLException') |
| 181 // http://www.w3.org/TR/webdatabase/#sqlexception | 181 // http://www.w3.org/TR/webdatabase/#sqlexception |
| 182 @Experimental // deprecated | 182 @Experimental() // deprecated |
| 183 class SqlException extends NativeFieldWrapperClass1 { | 183 class SqlException extends NativeFieldWrapperClass1 { |
| 184 | 184 |
| 185 @DomName('SQLException.CONSTRAINT_ERR') | 185 @DomName('SQLException.CONSTRAINT_ERR') |
| 186 @DocsEditable | 186 @DocsEditable() |
| 187 static const int CONSTRAINT_ERR = 6; | 187 static const int CONSTRAINT_ERR = 6; |
| 188 | 188 |
| 189 @DomName('SQLException.DATABASE_ERR') | 189 @DomName('SQLException.DATABASE_ERR') |
| 190 @DocsEditable | 190 @DocsEditable() |
| 191 static const int DATABASE_ERR = 1; | 191 static const int DATABASE_ERR = 1; |
| 192 | 192 |
| 193 @DomName('SQLException.QUOTA_ERR') | 193 @DomName('SQLException.QUOTA_ERR') |
| 194 @DocsEditable | 194 @DocsEditable() |
| 195 static const int QUOTA_ERR = 4; | 195 static const int QUOTA_ERR = 4; |
| 196 | 196 |
| 197 @DomName('SQLException.SYNTAX_ERR') | 197 @DomName('SQLException.SYNTAX_ERR') |
| 198 @DocsEditable | 198 @DocsEditable() |
| 199 static const int SYNTAX_ERR = 5; | 199 static const int SYNTAX_ERR = 5; |
| 200 | 200 |
| 201 @DomName('SQLException.TIMEOUT_ERR') | 201 @DomName('SQLException.TIMEOUT_ERR') |
| 202 @DocsEditable | 202 @DocsEditable() |
| 203 static const int TIMEOUT_ERR = 7; | 203 static const int TIMEOUT_ERR = 7; |
| 204 | 204 |
| 205 @DomName('SQLException.TOO_LARGE_ERR') | 205 @DomName('SQLException.TOO_LARGE_ERR') |
| 206 @DocsEditable | 206 @DocsEditable() |
| 207 static const int TOO_LARGE_ERR = 3; | 207 static const int TOO_LARGE_ERR = 3; |
| 208 | 208 |
| 209 @DomName('SQLException.UNKNOWN_ERR') | 209 @DomName('SQLException.UNKNOWN_ERR') |
| 210 @DocsEditable | 210 @DocsEditable() |
| 211 static const int UNKNOWN_ERR = 0; | 211 static const int UNKNOWN_ERR = 0; |
| 212 | 212 |
| 213 @DomName('SQLException.VERSION_ERR') | 213 @DomName('SQLException.VERSION_ERR') |
| 214 @DocsEditable | 214 @DocsEditable() |
| 215 static const int VERSION_ERR = 2; | 215 static const int VERSION_ERR = 2; |
| 216 | 216 |
| 217 @DomName('SQLException.code') | 217 @DomName('SQLException.code') |
| 218 @DocsEditable | 218 @DocsEditable() |
| 219 int get code native "SQLException_code_Getter"; | 219 int get code native "SQLException_code_Getter"; |
| 220 | 220 |
| 221 @DomName('SQLException.message') | 221 @DomName('SQLException.message') |
| 222 @DocsEditable | 222 @DocsEditable() |
| 223 String get message native "SQLException_message_Getter"; | 223 String get message native "SQLException_message_Getter"; |
| 224 | 224 |
| 225 } | 225 } |
| 226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 227 // for details. All rights reserved. Use of this source code is governed by a | 227 // for details. All rights reserved. Use of this source code is governed by a |
| 228 // BSD-style license that can be found in the LICENSE file. | 228 // BSD-style license that can be found in the LICENSE file. |
| 229 | 229 |
| 230 // WARNING: Do not edit - generated code. | 230 // WARNING: Do not edit - generated code. |
| 231 | 231 |
| 232 | 232 |
| 233 @DocsEditable | 233 @DocsEditable() |
| 234 @DomName('SQLResultSet') | 234 @DomName('SQLResultSet') |
| 235 // http://www.w3.org/TR/webdatabase/#sqlresultset | 235 // http://www.w3.org/TR/webdatabase/#sqlresultset |
| 236 @Experimental // deprecated | 236 @Experimental() // deprecated |
| 237 class SqlResultSet extends NativeFieldWrapperClass1 { | 237 class SqlResultSet extends NativeFieldWrapperClass1 { |
| 238 | 238 |
| 239 @DomName('SQLResultSet.insertId') | 239 @DomName('SQLResultSet.insertId') |
| 240 @DocsEditable | 240 @DocsEditable() |
| 241 int get insertId native "SQLResultSet_insertId_Getter"; | 241 int get insertId native "SQLResultSet_insertId_Getter"; |
| 242 | 242 |
| 243 @DomName('SQLResultSet.rows') | 243 @DomName('SQLResultSet.rows') |
| 244 @DocsEditable | 244 @DocsEditable() |
| 245 SqlResultSetRowList get rows native "SQLResultSet_rows_Getter"; | 245 SqlResultSetRowList get rows native "SQLResultSet_rows_Getter"; |
| 246 | 246 |
| 247 @DomName('SQLResultSet.rowsAffected') | 247 @DomName('SQLResultSet.rowsAffected') |
| 248 @DocsEditable | 248 @DocsEditable() |
| 249 int get rowsAffected native "SQLResultSet_rowsAffected_Getter"; | 249 int get rowsAffected native "SQLResultSet_rowsAffected_Getter"; |
| 250 | 250 |
| 251 } | 251 } |
| 252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 253 // for details. All rights reserved. Use of this source code is governed by a | 253 // for details. All rights reserved. Use of this source code is governed by a |
| 254 // BSD-style license that can be found in the LICENSE file. | 254 // BSD-style license that can be found in the LICENSE file. |
| 255 | 255 |
| 256 // WARNING: Do not edit - generated code. | 256 // WARNING: Do not edit - generated code. |
| 257 | 257 |
| 258 | 258 |
| 259 @DocsEditable | 259 @DocsEditable() |
| 260 @DomName('SQLResultSetRowList') | 260 @DomName('SQLResultSetRowList') |
| 261 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist | 261 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist |
| 262 @Experimental // deprecated | 262 @Experimental() // deprecated |
| 263 class SqlResultSetRowList extends NativeFieldWrapperClass1 with ListMixin<Map>,
ImmutableListMixin<Map> implements List<Map> { | 263 class SqlResultSetRowList extends NativeFieldWrapperClass1 with ListMixin<Map>,
ImmutableListMixin<Map> implements List<Map> { |
| 264 | 264 |
| 265 @DomName('SQLResultSetRowList.length') | 265 @DomName('SQLResultSetRowList.length') |
| 266 @DocsEditable | 266 @DocsEditable() |
| 267 int get length native "SQLResultSetRowList_length_Getter"; | 267 int get length native "SQLResultSetRowList_length_Getter"; |
| 268 | 268 |
| 269 Map operator[](int index) { | 269 Map operator[](int index) { |
| 270 if (index < 0 || index >= length) | 270 if (index < 0 || index >= length) |
| 271 throw new RangeError.range(index, 0, length); | 271 throw new RangeError.range(index, 0, length); |
| 272 return _nativeIndexedGetter(index); | 272 return _nativeIndexedGetter(index); |
| 273 } | 273 } |
| 274 Map _nativeIndexedGetter(int index) native "SQLResultSetRowList_item_Callback"
; | 274 Map _nativeIndexedGetter(int index) native "SQLResultSetRowList_item_Callback"
; |
| 275 | 275 |
| 276 void operator[]=(int index, Map value) { | 276 void operator[]=(int index, Map value) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 305 return this[0]; | 305 return this[0]; |
| 306 } | 306 } |
| 307 if (len == 0) throw new StateError("No elements"); | 307 if (len == 0) throw new StateError("No elements"); |
| 308 throw new StateError("More than one element"); | 308 throw new StateError("More than one element"); |
| 309 } | 309 } |
| 310 | 310 |
| 311 Map elementAt(int index) => this[index]; | 311 Map elementAt(int index) => this[index]; |
| 312 // -- end List<Map> mixins. | 312 // -- end List<Map> mixins. |
| 313 | 313 |
| 314 @DomName('SQLResultSetRowList.item') | 314 @DomName('SQLResultSetRowList.item') |
| 315 @DocsEditable | 315 @DocsEditable() |
| 316 Map item(int index) native "SQLResultSetRowList_item_Callback"; | 316 Map item(int index) native "SQLResultSetRowList_item_Callback"; |
| 317 | 317 |
| 318 } | 318 } |
| 319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 320 // for details. All rights reserved. Use of this source code is governed by a | 320 // for details. All rights reserved. Use of this source code is governed by a |
| 321 // BSD-style license that can be found in the LICENSE file. | 321 // BSD-style license that can be found in the LICENSE file. |
| 322 | 322 |
| 323 // WARNING: Do not edit - generated code. | 323 // WARNING: Do not edit - generated code. |
| 324 | 324 |
| 325 | 325 |
| 326 @DocsEditable | 326 @DocsEditable() |
| 327 @DomName('SQLTransaction') | 327 @DomName('SQLTransaction') |
| 328 @SupportedBrowser(SupportedBrowser.CHROME) | 328 @SupportedBrowser(SupportedBrowser.CHROME) |
| 329 @SupportedBrowser(SupportedBrowser.SAFARI) | 329 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 330 @Experimental | 330 @Experimental() |
| 331 // http://www.w3.org/TR/webdatabase/#sqltransaction | 331 // http://www.w3.org/TR/webdatabase/#sqltransaction |
| 332 @deprecated // deprecated | 332 @deprecated // deprecated |
| 333 class SqlTransaction extends NativeFieldWrapperClass1 { | 333 class SqlTransaction extends NativeFieldWrapperClass1 { |
| 334 | 334 |
| 335 @DomName('SQLTransaction.executeSql') | 335 @DomName('SQLTransaction.executeSql') |
| 336 @DocsEditable | 336 @DocsEditable() |
| 337 void executeSql(String sqlStatement, List arguments, [SqlStatementCallback cal
lback, SqlStatementErrorCallback errorCallback]) native "SQLTransaction_executeS
ql_Callback"; | 337 void executeSql(String sqlStatement, List arguments, [SqlStatementCallback cal
lback, SqlStatementErrorCallback errorCallback]) native "SQLTransaction_executeS
ql_Callback"; |
| 338 | 338 |
| 339 } | 339 } |
| 340 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 340 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 341 // for details. All rights reserved. Use of this source code is governed by a | 341 // for details. All rights reserved. Use of this source code is governed by a |
| 342 // BSD-style license that can be found in the LICENSE file. | 342 // BSD-style license that can be found in the LICENSE file. |
| 343 | 343 |
| 344 // WARNING: Do not edit - generated code. | 344 // WARNING: Do not edit - generated code. |
| 345 | 345 |
| 346 | 346 |
| 347 @DocsEditable | 347 @DocsEditable() |
| 348 @DomName('SQLTransactionSync') | 348 @DomName('SQLTransactionSync') |
| 349 @SupportedBrowser(SupportedBrowser.CHROME) | 349 @SupportedBrowser(SupportedBrowser.CHROME) |
| 350 @SupportedBrowser(SupportedBrowser.SAFARI) | 350 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 351 @Experimental | 351 @Experimental() |
| 352 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 352 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 353 @Experimental // deprecated | 353 @Experimental() // deprecated |
| 354 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { | 354 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { |
| 355 | 355 |
| 356 } | 356 } |
| OLD | NEW |