| 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 */ |
| 11 library dart.dom.web_sql; | 11 library dart.dom.web_sql; |
| 12 | 12 |
| 13 import 'dart:async'; | 13 import 'dart:async'; |
| 14 import 'dart:collection'; | 14 import 'dart:collection'; |
| 15 import 'dart:_internal' hide deprecated; | 15 import 'dart:_internal' hide deprecated; |
| 16 import 'dart:html'; | 16 import 'dart:html'; |
| 17 import 'dart:html_common'; | 17 import 'dart:html_common'; |
| 18 import 'dart:nativewrappers'; | 18 import 'dart:nativewrappers'; |
| 19 import 'dart:_blink' as _blink; | 19 import 'dart:_blink' as _blink; |
| 20 // DO NOT EDIT - unless you are editing documentation as per: | 20 // DO NOT EDIT - unless you are editing documentation as per: |
| 21 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 21 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 22 // Auto-generated dart:audio library. | 22 // Auto-generated dart:audio library. |
| 23 | 23 |
| 24 | 24 |
| 25 | 25 |
| 26 | 26 |
| 27 // FIXME: Can we make this private? |
| 28 const web_sqlBlinkMap = const { |
| 29 'Database': SqlDatabase, |
| 30 'SQLError': SqlError, |
| 31 'SQLResultSet': SqlResultSet, |
| 32 'SQLResultSetRowList': SqlResultSetRowList, |
| 33 'SQLTransaction': SqlTransaction, |
| 34 'SQLTransactionSync': _SQLTransactionSync, |
| 35 |
| 36 }; |
| 27 // 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 |
| 28 // 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 |
| 29 // BSD-style license that can be found in the LICENSE file. | 39 // BSD-style license that can be found in the LICENSE file. |
| 30 | 40 |
| 31 // WARNING: Do not edit - generated code. | 41 // WARNING: Do not edit - generated code. |
| 32 | 42 |
| 33 | 43 |
| 34 @DomName('SQLStatementCallback') | 44 @DomName('SQLStatementCallback') |
| 35 // http://www.w3.org/TR/webdatabase/#sqlstatementcallback | 45 // http://www.w3.org/TR/webdatabase/#sqlstatementcallback |
| 36 @Experimental() // deprecated | 46 @Experimental() // deprecated |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 @SupportedBrowser(SupportedBrowser.CHROME) | 317 @SupportedBrowser(SupportedBrowser.CHROME) |
| 308 @SupportedBrowser(SupportedBrowser.SAFARI) | 318 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 309 @Experimental() | 319 @Experimental() |
| 310 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 320 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 311 @Experimental() // deprecated | 321 @Experimental() // deprecated |
| 312 abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { | 322 abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { |
| 313 // To suppress missing implicit constructor warnings. | 323 // To suppress missing implicit constructor warnings. |
| 314 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} | 324 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} |
| 315 | 325 |
| 316 } | 326 } |
| OLD | NEW |