| 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? | 27 // FIXME: Can we make this private? |
| 28 const web_sqlBlinkMap = const { | 28 final web_sqlBlinkMap = { |
| 29 'Database': SqlDatabase, | 29 'Database': () => SqlDatabase, |
| 30 'SQLError': SqlError, | 30 'SQLError': () => SqlError, |
| 31 'SQLResultSet': SqlResultSet, | 31 'SQLResultSet': () => SqlResultSet, |
| 32 'SQLResultSetRowList': SqlResultSetRowList, | 32 'SQLResultSetRowList': () => SqlResultSetRowList, |
| 33 'SQLTransaction': SqlTransaction, | 33 'SQLTransaction': () => SqlTransaction, |
| 34 'SQLTransactionSync': _SQLTransactionSync, | 34 'SQLTransactionSync': () => _SQLTransactionSync, |
| 35 | 35 |
| 36 }; | 36 }; |
| 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('SQLStatementCallback') | 44 @DomName('SQLStatementCallback') |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 @SupportedBrowser(SupportedBrowser.CHROME) | 317 @SupportedBrowser(SupportedBrowser.CHROME) |
| 318 @SupportedBrowser(SupportedBrowser.SAFARI) | 318 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 319 @Experimental() | 319 @Experimental() |
| 320 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 320 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 321 @Experimental() // deprecated | 321 @Experimental() // deprecated |
| 322 abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { | 322 abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { |
| 323 // To suppress missing implicit constructor warnings. | 323 // To suppress missing implicit constructor warnings. |
| 324 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} | 324 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} |
| 325 | 325 |
| 326 } | 326 } |
| OLD | NEW |