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

Side by Side Diff: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart

Issue 22352004: Regenerating DOM types from IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
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')
175 // http://www.w3.org/TR/webdatabase/#sqlexception
176 @Experimental() // deprecated
177 class SqlException extends Interceptor native "SQLException" {
178
179 @DomName('SQLException.CONSTRAINT_ERR')
180 @DocsEditable()
181 static const int CONSTRAINT_ERR = 6;
182
183 @DomName('SQLException.DATABASE_ERR')
184 @DocsEditable()
185 static const int DATABASE_ERR = 1;
186
187 @DomName('SQLException.QUOTA_ERR')
188 @DocsEditable()
189 static const int QUOTA_ERR = 4;
190
191 @DomName('SQLException.SYNTAX_ERR')
192 @DocsEditable()
193 static const int SYNTAX_ERR = 5;
194
195 @DomName('SQLException.TIMEOUT_ERR')
196 @DocsEditable()
197 static const int TIMEOUT_ERR = 7;
198
199 @DomName('SQLException.TOO_LARGE_ERR')
200 @DocsEditable()
201 static const int TOO_LARGE_ERR = 3;
202
203 @DomName('SQLException.UNKNOWN_ERR')
204 @DocsEditable()
205 static const int UNKNOWN_ERR = 0;
206
207 @DomName('SQLException.VERSION_ERR')
208 @DocsEditable()
209 static const int VERSION_ERR = 2;
210
211 @DomName('SQLException.code')
212 @DocsEditable()
213 final int code;
214
215 @DomName('SQLException.message')
216 @DocsEditable()
217 final String message;
218 }
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
221 // BSD-style license that can be found in the LICENSE file.
222
223
224 @DocsEditable()
225 @DomName('SQLResultSet') 174 @DomName('SQLResultSet')
226 // http://www.w3.org/TR/webdatabase/#sqlresultset 175 // http://www.w3.org/TR/webdatabase/#sqlresultset
227 @Experimental() // deprecated 176 @Experimental() // deprecated
228 class SqlResultSet extends Interceptor native "SQLResultSet" { 177 class SqlResultSet extends Interceptor native "SQLResultSet" {
229 178
230 @DomName('SQLResultSet.insertId') 179 @DomName('SQLResultSet.insertId')
231 @DocsEditable() 180 @DocsEditable()
232 final int insertId; 181 final int insertId;
233 182
234 @DomName('SQLResultSet.rows') 183 @DomName('SQLResultSet.rows')
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 284
336 @DocsEditable() 285 @DocsEditable()
337 @DomName('SQLTransactionSync') 286 @DomName('SQLTransactionSync')
338 @SupportedBrowser(SupportedBrowser.CHROME) 287 @SupportedBrowser(SupportedBrowser.CHROME)
339 @SupportedBrowser(SupportedBrowser.SAFARI) 288 @SupportedBrowser(SupportedBrowser.SAFARI)
340 @Experimental() 289 @Experimental()
341 // http://www.w3.org/TR/webdatabase/#sqltransactionsync 290 // http://www.w3.org/TR/webdatabase/#sqltransactionsync
342 @Experimental() // deprecated 291 @Experimental() // deprecated
343 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn c" { 292 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn c" {
344 } 293 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698