Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Side by Side Diff: sdk/lib/web_sql/dartium/web_sql_dartium.dart

Issue 27358002: Generate a class table of all the IDL classes in the database. This table is used (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 NativeFieldWrapperClass2 {
85 // To suppress missing implicit constructor warnings. 85 // To suppress missing implicit constructor warnings.
86 factory SqlDatabase._() { throw new UnsupportedError("Not supported"); } 86 factory SqlDatabase._() { throw new UnsupportedError("Not supported"); }
87 87
88 /// Checks if this type is supported on the current platform. 88 /// Checks if this type is supported on the current platform.
89 static bool get supported => true; 89 static bool get supported => true;
90 90
91 @DomName('Database.version') 91 @DomName('Database.version')
92 @DocsEditable() 92 @DocsEditable()
93 String get version native "Database_version_Getter"; 93 String get version native "Database_version_Getter";
94 94
(...skipping 26 matching lines...) Expand all
121 // for details. All rights reserved. Use of this source code is governed by a 121 // for details. All rights reserved. Use of this source code is governed by a
122 // BSD-style license that can be found in the LICENSE file. 122 // BSD-style license that can be found in the LICENSE file.
123 123
124 // WARNING: Do not edit - generated code. 124 // WARNING: Do not edit - generated code.
125 125
126 126
127 @DocsEditable() 127 @DocsEditable()
128 @DomName('SQLError') 128 @DomName('SQLError')
129 // http://www.w3.org/TR/webdatabase/#sqlerror 129 // http://www.w3.org/TR/webdatabase/#sqlerror
130 @Experimental() // deprecated 130 @Experimental() // deprecated
131 class SqlError extends NativeFieldWrapperClass1 { 131 class SqlError extends NativeFieldWrapperClass2 {
132 // To suppress missing implicit constructor warnings. 132 // To suppress missing implicit constructor warnings.
133 factory SqlError._() { throw new UnsupportedError("Not supported"); } 133 factory SqlError._() { throw new UnsupportedError("Not supported"); }
134 134
135 @DomName('SQLError.CONSTRAINT_ERR') 135 @DomName('SQLError.CONSTRAINT_ERR')
136 @DocsEditable() 136 @DocsEditable()
137 static const int CONSTRAINT_ERR = 6; 137 static const int CONSTRAINT_ERR = 6;
138 138
139 @DomName('SQLError.DATABASE_ERR') 139 @DomName('SQLError.DATABASE_ERR')
140 @DocsEditable() 140 @DocsEditable()
141 static const int DATABASE_ERR = 1; 141 static const int DATABASE_ERR = 1;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // for details. All rights reserved. Use of this source code is governed by a 177 // for details. All rights reserved. Use of this source code is governed by a
178 // BSD-style license that can be found in the LICENSE file. 178 // BSD-style license that can be found in the LICENSE file.
179 179
180 // WARNING: Do not edit - generated code. 180 // WARNING: Do not edit - generated code.
181 181
182 182
183 @DocsEditable() 183 @DocsEditable()
184 @DomName('SQLResultSet') 184 @DomName('SQLResultSet')
185 // http://www.w3.org/TR/webdatabase/#sqlresultset 185 // http://www.w3.org/TR/webdatabase/#sqlresultset
186 @Experimental() // deprecated 186 @Experimental() // deprecated
187 class SqlResultSet extends NativeFieldWrapperClass1 { 187 class SqlResultSet extends NativeFieldWrapperClass2 {
188 // To suppress missing implicit constructor warnings. 188 // To suppress missing implicit constructor warnings.
189 factory SqlResultSet._() { throw new UnsupportedError("Not supported"); } 189 factory SqlResultSet._() { throw new UnsupportedError("Not supported"); }
190 190
191 @DomName('SQLResultSet.insertId') 191 @DomName('SQLResultSet.insertId')
192 @DocsEditable() 192 @DocsEditable()
193 int get insertId native "SQLResultSet_insertId_Getter"; 193 int get insertId native "SQLResultSet_insertId_Getter";
194 194
195 @DomName('SQLResultSet.rows') 195 @DomName('SQLResultSet.rows')
196 @DocsEditable() 196 @DocsEditable()
197 SqlResultSetRowList get rows native "SQLResultSet_rows_Getter"; 197 SqlResultSetRowList get rows native "SQLResultSet_rows_Getter";
198 198
199 @DomName('SQLResultSet.rowsAffected') 199 @DomName('SQLResultSet.rowsAffected')
200 @DocsEditable() 200 @DocsEditable()
201 int get rowsAffected native "SQLResultSet_rowsAffected_Getter"; 201 int get rowsAffected native "SQLResultSet_rowsAffected_Getter";
202 202
203 } 203 }
204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
205 // for details. All rights reserved. Use of this source code is governed by a 205 // for details. All rights reserved. Use of this source code is governed by a
206 // BSD-style license that can be found in the LICENSE file. 206 // BSD-style license that can be found in the LICENSE file.
207 207
208 // WARNING: Do not edit - generated code. 208 // WARNING: Do not edit - generated code.
209 209
210 210
211 @DocsEditable() 211 @DocsEditable()
212 @DomName('SQLResultSetRowList') 212 @DomName('SQLResultSetRowList')
213 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist 213 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist
214 @Experimental() // deprecated 214 @Experimental() // deprecated
215 class SqlResultSetRowList extends NativeFieldWrapperClass1 with ListMixin<Map>, ImmutableListMixin<Map> implements List { 215 class SqlResultSetRowList extends NativeFieldWrapperClass2 with ListMixin<Map>, ImmutableListMixin<Map> implements List {
216 // To suppress missing implicit constructor warnings. 216 // To suppress missing implicit constructor warnings.
217 factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported"); } 217 factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported"); }
218 218
219 @DomName('SQLResultSetRowList.length') 219 @DomName('SQLResultSetRowList.length')
220 @DocsEditable() 220 @DocsEditable()
221 int get length native "SQLResultSetRowList_length_Getter"; 221 int get length native "SQLResultSetRowList_length_Getter";
222 222
223 Map operator[](int index) { 223 Map operator[](int index) {
224 if (index < 0 || index >= length) 224 if (index < 0 || index >= length)
225 throw new RangeError.range(index, 0, length); 225 throw new RangeError.range(index, 0, length);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // WARNING: Do not edit - generated code. 277 // WARNING: Do not edit - generated code.
278 278
279 279
280 @DocsEditable() 280 @DocsEditable()
281 @DomName('SQLTransaction') 281 @DomName('SQLTransaction')
282 @SupportedBrowser(SupportedBrowser.CHROME) 282 @SupportedBrowser(SupportedBrowser.CHROME)
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 NativeFieldWrapperClass1 { 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 arguments, [SqlStatementCallback cal lback, SqlStatementErrorCallback errorCallback]) native "SQLTransaction_executeS ql_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 NativeFieldWrapperClass1 { 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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698