| 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29 // for details. All rights reserved. Use of this source code is governed by a | 29 // for details. All rights reserved. Use of this source code is governed by a |
| 30 // BSD-style license that can be found in the LICENSE file. | 30 // BSD-style license that can be found in the LICENSE file. |
| 31 | 31 |
| 32 // WARNING: Do not edit - generated code. | 32 // WARNING: Do not edit - generated code. |
| 33 | 33 |
| 34 | 34 |
| 35 @DomName('SQLStatementCallback') | 35 @DomName('SQLStatementCallback') |
| 36 // http://www.w3.org/TR/webdatabase/#sqlstatementcallback | 36 // http://www.w3.org/TR/webdatabase/#sqlstatementcallback |
| 37 @Experimental // deprecated | 37 @Experimental() // deprecated |
| 38 typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resul
tSet); | 38 typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resul
tSet); |
| 39 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 39 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 40 // for details. All rights reserved. Use of this source code is governed by a | 40 // for details. All rights reserved. Use of this source code is governed by a |
| 41 // BSD-style license that can be found in the LICENSE file. | 41 // BSD-style license that can be found in the LICENSE file. |
| 42 | 42 |
| 43 // WARNING: Do not edit - generated code. | 43 // WARNING: Do not edit - generated code. |
| 44 | 44 |
| 45 | 45 |
| 46 @DomName('SQLStatementErrorCallback') | 46 @DomName('SQLStatementErrorCallback') |
| 47 // http://www.w3.org/TR/webdatabase/#sqlstatementerrorcallback | 47 // http://www.w3.org/TR/webdatabase/#sqlstatementerrorcallback |
| 48 @Experimental // deprecated | 48 @Experimental() // deprecated |
| 49 typedef void SqlStatementErrorCallback(SqlTransaction transaction, SqlError erro
r); | 49 typedef void SqlStatementErrorCallback(SqlTransaction transaction, SqlError erro
r); |
| 50 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 50 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 51 // for details. All rights reserved. Use of this source code is governed by a | 51 // for details. All rights reserved. Use of this source code is governed by a |
| 52 // BSD-style license that can be found in the LICENSE file. | 52 // BSD-style license that can be found in the LICENSE file. |
| 53 | 53 |
| 54 // WARNING: Do not edit - generated code. | 54 // WARNING: Do not edit - generated code. |
| 55 | 55 |
| 56 | 56 |
| 57 @DomName('SQLTransactionCallback') | 57 @DomName('SQLTransactionCallback') |
| 58 // http://www.w3.org/TR/webdatabase/#sqltransactioncallback | 58 // http://www.w3.org/TR/webdatabase/#sqltransactioncallback |
| 59 @Experimental // deprecated | 59 @Experimental() // deprecated |
| 60 typedef void SqlTransactionCallback(SqlTransaction transaction); | 60 typedef void SqlTransactionCallback(SqlTransaction transaction); |
| 61 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 61 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 62 // for details. All rights reserved. Use of this source code is governed by a | 62 // for details. All rights reserved. Use of this source code is governed by a |
| 63 // BSD-style license that can be found in the LICENSE file. | 63 // BSD-style license that can be found in the LICENSE file. |
| 64 | 64 |
| 65 // WARNING: Do not edit - generated code. | 65 // WARNING: Do not edit - generated code. |
| 66 | 66 |
| 67 | 67 |
| 68 @DomName('SQLTransactionErrorCallback') | 68 @DomName('SQLTransactionErrorCallback') |
| 69 // http://www.w3.org/TR/webdatabase/#sqltransactionerrorcallback | 69 // http://www.w3.org/TR/webdatabase/#sqltransactionerrorcallback |
| 70 @Experimental // deprecated | 70 @Experimental() // deprecated |
| 71 typedef void SqlTransactionErrorCallback(SqlError error); | 71 typedef void SqlTransactionErrorCallback(SqlError error); |
| 72 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 72 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 73 // for details. All rights reserved. Use of this source code is governed by a | 73 // for details. All rights reserved. Use of this source code is governed by a |
| 74 // BSD-style license that can be found in the LICENSE file. | 74 // BSD-style license that can be found in the LICENSE file. |
| 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 Interceptor native "Database" { | 84 class SqlDatabase extends Interceptor native "Database" { |
| 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 => JS('bool', '!!(window.openDatabase)'); | 87 static bool get supported => JS('bool', '!!(window.openDatabase)'); |
| 88 | 88 |
| 89 @DomName('Database.version') | 89 @DomName('Database.version') |
| 90 @DocsEditable | 90 @DocsEditable() |
| 91 final String version; | 91 final String version; |
| 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; | 107 void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallba
ck callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCall
back]) native; |
| 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; | 111 void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCall
back errorCallback, VoidCallback successCallback]) native; |
| 112 | 112 |
| 113 @DomName('Database.transaction') | 113 @DomName('Database.transaction') |
| 114 @DocsEditable | 114 @DocsEditable() |
| 115 void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback
errorCallback, VoidCallback successCallback]) native; | 115 void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback
errorCallback, VoidCallback successCallback]) native; |
| 116 } | 116 } |
| 117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 118 // for details. All rights reserved. Use of this source code is governed by a | 118 // for details. All rights reserved. Use of this source code is governed by a |
| 119 // BSD-style license that can be found in the LICENSE file. | 119 // BSD-style license that can be found in the LICENSE file. |
| 120 | 120 |
| 121 | 121 |
| 122 @DocsEditable | 122 @DocsEditable() |
| 123 @DomName('SQLError') | 123 @DomName('SQLError') |
| 124 // http://www.w3.org/TR/webdatabase/#sqlerror | 124 // http://www.w3.org/TR/webdatabase/#sqlerror |
| 125 @Experimental // deprecated | 125 @Experimental() // deprecated |
| 126 class SqlError extends Interceptor native "SQLError" { | 126 class SqlError extends Interceptor native "SQLError" { |
| 127 | 127 |
| 128 @DomName('SQLError.CONSTRAINT_ERR') | 128 @DomName('SQLError.CONSTRAINT_ERR') |
| 129 @DocsEditable | 129 @DocsEditable() |
| 130 static const int CONSTRAINT_ERR = 6; | 130 static const int CONSTRAINT_ERR = 6; |
| 131 | 131 |
| 132 @DomName('SQLError.DATABASE_ERR') | 132 @DomName('SQLError.DATABASE_ERR') |
| 133 @DocsEditable | 133 @DocsEditable() |
| 134 static const int DATABASE_ERR = 1; | 134 static const int DATABASE_ERR = 1; |
| 135 | 135 |
| 136 @DomName('SQLError.QUOTA_ERR') | 136 @DomName('SQLError.QUOTA_ERR') |
| 137 @DocsEditable | 137 @DocsEditable() |
| 138 static const int QUOTA_ERR = 4; | 138 static const int QUOTA_ERR = 4; |
| 139 | 139 |
| 140 @DomName('SQLError.SYNTAX_ERR') | 140 @DomName('SQLError.SYNTAX_ERR') |
| 141 @DocsEditable | 141 @DocsEditable() |
| 142 static const int SYNTAX_ERR = 5; | 142 static const int SYNTAX_ERR = 5; |
| 143 | 143 |
| 144 @DomName('SQLError.TIMEOUT_ERR') | 144 @DomName('SQLError.TIMEOUT_ERR') |
| 145 @DocsEditable | 145 @DocsEditable() |
| 146 static const int TIMEOUT_ERR = 7; | 146 static const int TIMEOUT_ERR = 7; |
| 147 | 147 |
| 148 @DomName('SQLError.TOO_LARGE_ERR') | 148 @DomName('SQLError.TOO_LARGE_ERR') |
| 149 @DocsEditable | 149 @DocsEditable() |
| 150 static const int TOO_LARGE_ERR = 3; | 150 static const int TOO_LARGE_ERR = 3; |
| 151 | 151 |
| 152 @DomName('SQLError.UNKNOWN_ERR') | 152 @DomName('SQLError.UNKNOWN_ERR') |
| 153 @DocsEditable | 153 @DocsEditable() |
| 154 static const int UNKNOWN_ERR = 0; | 154 static const int UNKNOWN_ERR = 0; |
| 155 | 155 |
| 156 @DomName('SQLError.VERSION_ERR') | 156 @DomName('SQLError.VERSION_ERR') |
| 157 @DocsEditable | 157 @DocsEditable() |
| 158 static const int VERSION_ERR = 2; | 158 static const int VERSION_ERR = 2; |
| 159 | 159 |
| 160 @DomName('SQLError.code') | 160 @DomName('SQLError.code') |
| 161 @DocsEditable | 161 @DocsEditable() |
| 162 final int code; | 162 final int code; |
| 163 | 163 |
| 164 @DomName('SQLError.message') | 164 @DomName('SQLError.message') |
| 165 @DocsEditable | 165 @DocsEditable() |
| 166 final String message; | 166 final String message; |
| 167 } | 167 } |
| 168 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 168 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 169 // for details. All rights reserved. Use of this source code is governed by a | 169 // for details. All rights reserved. Use of this source code is governed by a |
| 170 // BSD-style license that can be found in the LICENSE file. | 170 // BSD-style license that can be found in the LICENSE file. |
| 171 | 171 |
| 172 | 172 |
| 173 @DocsEditable | 173 @DocsEditable() |
| 174 @DomName('SQLException') | 174 @DomName('SQLException') |
| 175 // http://www.w3.org/TR/webdatabase/#sqlexception | 175 // http://www.w3.org/TR/webdatabase/#sqlexception |
| 176 @Experimental // deprecated | 176 @Experimental() // deprecated |
| 177 class SqlException extends Interceptor native "SQLException" { | 177 class SqlException extends Interceptor native "SQLException" { |
| 178 | 178 |
| 179 @DomName('SQLException.CONSTRAINT_ERR') | 179 @DomName('SQLException.CONSTRAINT_ERR') |
| 180 @DocsEditable | 180 @DocsEditable() |
| 181 static const int CONSTRAINT_ERR = 6; | 181 static const int CONSTRAINT_ERR = 6; |
| 182 | 182 |
| 183 @DomName('SQLException.DATABASE_ERR') | 183 @DomName('SQLException.DATABASE_ERR') |
| 184 @DocsEditable | 184 @DocsEditable() |
| 185 static const int DATABASE_ERR = 1; | 185 static const int DATABASE_ERR = 1; |
| 186 | 186 |
| 187 @DomName('SQLException.QUOTA_ERR') | 187 @DomName('SQLException.QUOTA_ERR') |
| 188 @DocsEditable | 188 @DocsEditable() |
| 189 static const int QUOTA_ERR = 4; | 189 static const int QUOTA_ERR = 4; |
| 190 | 190 |
| 191 @DomName('SQLException.SYNTAX_ERR') | 191 @DomName('SQLException.SYNTAX_ERR') |
| 192 @DocsEditable | 192 @DocsEditable() |
| 193 static const int SYNTAX_ERR = 5; | 193 static const int SYNTAX_ERR = 5; |
| 194 | 194 |
| 195 @DomName('SQLException.TIMEOUT_ERR') | 195 @DomName('SQLException.TIMEOUT_ERR') |
| 196 @DocsEditable | 196 @DocsEditable() |
| 197 static const int TIMEOUT_ERR = 7; | 197 static const int TIMEOUT_ERR = 7; |
| 198 | 198 |
| 199 @DomName('SQLException.TOO_LARGE_ERR') | 199 @DomName('SQLException.TOO_LARGE_ERR') |
| 200 @DocsEditable | 200 @DocsEditable() |
| 201 static const int TOO_LARGE_ERR = 3; | 201 static const int TOO_LARGE_ERR = 3; |
| 202 | 202 |
| 203 @DomName('SQLException.UNKNOWN_ERR') | 203 @DomName('SQLException.UNKNOWN_ERR') |
| 204 @DocsEditable | 204 @DocsEditable() |
| 205 static const int UNKNOWN_ERR = 0; | 205 static const int UNKNOWN_ERR = 0; |
| 206 | 206 |
| 207 @DomName('SQLException.VERSION_ERR') | 207 @DomName('SQLException.VERSION_ERR') |
| 208 @DocsEditable | 208 @DocsEditable() |
| 209 static const int VERSION_ERR = 2; | 209 static const int VERSION_ERR = 2; |
| 210 | 210 |
| 211 @DomName('SQLException.code') | 211 @DomName('SQLException.code') |
| 212 @DocsEditable | 212 @DocsEditable() |
| 213 final int code; | 213 final int code; |
| 214 | 214 |
| 215 @DomName('SQLException.message') | 215 @DomName('SQLException.message') |
| 216 @DocsEditable | 216 @DocsEditable() |
| 217 final String message; | 217 final String message; |
| 218 } | 218 } |
| 219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 220 // for details. All rights reserved. Use of this source code is governed by a | 220 // for details. All rights reserved. Use of this source code is governed by a |
| 221 // BSD-style license that can be found in the LICENSE file. | 221 // BSD-style license that can be found in the LICENSE file. |
| 222 | 222 |
| 223 | 223 |
| 224 @DocsEditable | 224 @DocsEditable() |
| 225 @DomName('SQLResultSet') | 225 @DomName('SQLResultSet') |
| 226 // http://www.w3.org/TR/webdatabase/#sqlresultset | 226 // http://www.w3.org/TR/webdatabase/#sqlresultset |
| 227 @Experimental // deprecated | 227 @Experimental() // deprecated |
| 228 class SqlResultSet extends Interceptor native "SQLResultSet" { | 228 class SqlResultSet extends Interceptor native "SQLResultSet" { |
| 229 | 229 |
| 230 @DomName('SQLResultSet.insertId') | 230 @DomName('SQLResultSet.insertId') |
| 231 @DocsEditable | 231 @DocsEditable() |
| 232 final int insertId; | 232 final int insertId; |
| 233 | 233 |
| 234 @DomName('SQLResultSet.rows') | 234 @DomName('SQLResultSet.rows') |
| 235 @DocsEditable | 235 @DocsEditable() |
| 236 final SqlResultSetRowList rows; | 236 final SqlResultSetRowList rows; |
| 237 | 237 |
| 238 @DomName('SQLResultSet.rowsAffected') | 238 @DomName('SQLResultSet.rowsAffected') |
| 239 @DocsEditable | 239 @DocsEditable() |
| 240 final int rowsAffected; | 240 final int rowsAffected; |
| 241 } | 241 } |
| 242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 243 // for details. All rights reserved. Use of this source code is governed by a | 243 // for details. All rights reserved. Use of this source code is governed by a |
| 244 // BSD-style license that can be found in the LICENSE file. | 244 // BSD-style license that can be found in the LICENSE file. |
| 245 | 245 |
| 246 | 246 |
| 247 @DocsEditable | 247 @DocsEditable() |
| 248 @DomName('SQLResultSetRowList') | 248 @DomName('SQLResultSetRowList') |
| 249 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist | 249 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist |
| 250 @Experimental // deprecated | 250 @Experimental() // deprecated |
| 251 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList
Mixin<Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSet
RowList" { | 251 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList
Mixin<Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSet
RowList" { |
| 252 | 252 |
| 253 @DomName('SQLResultSetRowList.length') | 253 @DomName('SQLResultSetRowList.length') |
| 254 @DocsEditable | 254 @DocsEditable() |
| 255 int get length => JS("int", "#.length", this); | 255 int get length => JS("int", "#.length", this); |
| 256 | 256 |
| 257 Map operator[](int index) { | 257 Map operator[](int index) { |
| 258 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 258 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 259 index, index, length)) | 259 index, index, length)) |
| 260 throw new RangeError.range(index, 0, length); | 260 throw new RangeError.range(index, 0, length); |
| 261 return this.item(index); | 261 return this.item(index); |
| 262 } | 262 } |
| 263 void operator[]=(int index, Map value) { | 263 void operator[]=(int index, Map value) { |
| 264 throw new UnsupportedError("Cannot assign element of immutable List."); | 264 throw new UnsupportedError("Cannot assign element of immutable List."); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 292 return JS('Map', '#[0]', this); | 292 return JS('Map', '#[0]', this); |
| 293 } | 293 } |
| 294 if (len == 0) throw new StateError("No elements"); | 294 if (len == 0) throw new StateError("No elements"); |
| 295 throw new StateError("More than one element"); | 295 throw new StateError("More than one element"); |
| 296 } | 296 } |
| 297 | 297 |
| 298 Map elementAt(int index) => this[index]; | 298 Map elementAt(int index) => this[index]; |
| 299 // -- end List<Map> mixins. | 299 // -- end List<Map> mixins. |
| 300 | 300 |
| 301 @DomName('SQLResultSetRowList.item') | 301 @DomName('SQLResultSetRowList.item') |
| 302 @DocsEditable | 302 @DocsEditable() |
| 303 @Creates('=Object') | 303 @Creates('=Object') |
| 304 Map item(int index) { | 304 Map item(int index) { |
| 305 return convertNativeToDart_Dictionary(_item_1(index)); | 305 return convertNativeToDart_Dictionary(_item_1(index)); |
| 306 } | 306 } |
| 307 @JSName('item') | 307 @JSName('item') |
| 308 @DomName('SQLResultSetRowList.item') | 308 @DomName('SQLResultSetRowList.item') |
| 309 @DocsEditable | 309 @DocsEditable() |
| 310 @Creates('=Object') | 310 @Creates('=Object') |
| 311 _item_1(index) native; | 311 _item_1(index) native; |
| 312 } | 312 } |
| 313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 314 // for details. All rights reserved. Use of this source code is governed by a | 314 // for details. All rights reserved. Use of this source code is governed by a |
| 315 // BSD-style license that can be found in the LICENSE file. | 315 // BSD-style license that can be found in the LICENSE file. |
| 316 | 316 |
| 317 | 317 |
| 318 @DocsEditable | 318 @DocsEditable() |
| 319 @DomName('SQLTransaction') | 319 @DomName('SQLTransaction') |
| 320 @SupportedBrowser(SupportedBrowser.CHROME) | 320 @SupportedBrowser(SupportedBrowser.CHROME) |
| 321 @SupportedBrowser(SupportedBrowser.SAFARI) | 321 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 322 @Experimental | 322 @Experimental() |
| 323 // http://www.w3.org/TR/webdatabase/#sqltransaction | 323 // http://www.w3.org/TR/webdatabase/#sqltransaction |
| 324 @deprecated // deprecated | 324 @deprecated // deprecated |
| 325 class SqlTransaction extends Interceptor native "SQLTransaction" { | 325 class SqlTransaction extends Interceptor native "SQLTransaction" { |
| 326 | 326 |
| 327 @DomName('SQLTransaction.executeSql') | 327 @DomName('SQLTransaction.executeSql') |
| 328 @DocsEditable | 328 @DocsEditable() |
| 329 void executeSql(String sqlStatement, List arguments, [SqlStatementCallback cal
lback, SqlStatementErrorCallback errorCallback]) native; | 329 void executeSql(String sqlStatement, List arguments, [SqlStatementCallback cal
lback, SqlStatementErrorCallback errorCallback]) native; |
| 330 } | 330 } |
| 331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 332 // for details. All rights reserved. Use of this source code is governed by a | 332 // for details. All rights reserved. Use of this source code is governed by a |
| 333 // BSD-style license that can be found in the LICENSE file. | 333 // BSD-style license that can be found in the LICENSE file. |
| 334 | 334 |
| 335 | 335 |
| 336 @DocsEditable | 336 @DocsEditable() |
| 337 @DomName('SQLTransactionSync') | 337 @DomName('SQLTransactionSync') |
| 338 @SupportedBrowser(SupportedBrowser.CHROME) | 338 @SupportedBrowser(SupportedBrowser.CHROME) |
| 339 @SupportedBrowser(SupportedBrowser.SAFARI) | 339 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 340 @Experimental | 340 @Experimental() |
| 341 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 341 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 342 @Experimental // deprecated | 342 @Experimental() // deprecated |
| 343 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn
c" { | 343 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn
c" { |
| 344 } | 344 } |
| OLD | NEW |