| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 @SupportedBrowser(SupportedBrowser.SAFARI) | 283 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 284 @Experimental() | 284 @Experimental() |
| 285 // http://www.w3.org/TR/webdatabase/#sqltransaction | 285 // http://www.w3.org/TR/webdatabase/#sqltransaction |
| 286 @deprecated // deprecated | 286 @deprecated // deprecated |
| 287 class SqlTransaction extends NativeFieldWrapperClass2 { | 287 class SqlTransaction extends NativeFieldWrapperClass2 { |
| 288 // To suppress missing implicit constructor warnings. | 288 // To suppress missing implicit constructor warnings. |
| 289 factory SqlTransaction._() { throw new UnsupportedError("Not supported"); } | 289 factory SqlTransaction._() { throw new UnsupportedError("Not supported"); } |
| 290 | 290 |
| 291 @DomName('SQLTransaction.executeSql') | 291 @DomName('SQLTransaction.executeSql') |
| 292 @DocsEditable() | 292 @DocsEditable() |
| 293 void executeSql(String sqlStatement, List arguments, [SqlStatementCallback cal
lback, SqlStatementErrorCallback errorCallback]) native "SQLTransaction_executeS
ql_Callback"; | 293 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall
back callback, SqlStatementErrorCallback errorCallback]) native "SQLTransaction_
executeSql_Callback"; |
| 294 | 294 |
| 295 } | 295 } |
| 296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 297 // for details. All rights reserved. Use of this source code is governed by a | 297 // for details. All rights reserved. Use of this source code is governed by a |
| 298 // BSD-style license that can be found in the LICENSE file. | 298 // BSD-style license that can be found in the LICENSE file. |
| 299 | 299 |
| 300 // WARNING: Do not edit - generated code. | 300 // WARNING: Do not edit - generated code. |
| 301 | 301 |
| 302 | 302 |
| 303 @DocsEditable() | 303 @DocsEditable() |
| 304 @DomName('SQLTransactionSync') | 304 @DomName('SQLTransactionSync') |
| 305 @SupportedBrowser(SupportedBrowser.CHROME) | 305 @SupportedBrowser(SupportedBrowser.CHROME) |
| 306 @SupportedBrowser(SupportedBrowser.SAFARI) | 306 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 307 @Experimental() | 307 @Experimental() |
| 308 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 308 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 309 @Experimental() // deprecated | 309 @Experimental() // deprecated |
| 310 abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { | 310 abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { |
| 311 // To suppress missing implicit constructor warnings. | 311 // To suppress missing implicit constructor warnings. |
| 312 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} | 312 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} |
| 313 | 313 |
| 314 } | 314 } |
| OLD | NEW |