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

Side by Side Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Issue 23904009: added one-liners: Node, EventTarget, Canvas, HttpClient, HttpServer etc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: lgtm'ed by katwa Created 7 years, 3 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
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * A client-side key-value store with support for indexes. 2 * A client-side key-value store with support for indexes.
3 * 3 *
4 * Many browsers support IndexedDB—a web standard for 4 * Many browsers support IndexedDB—a web standard for
5 * an indexed database. 5 * an indexed database.
6 * By storing data on the client in an IndexedDB, 6 * By storing data on the client in an IndexedDB,
7 * a web app gets some advantages, such as faster performance and persistence. 7 * a web app gets some advantages, such as faster performance and persistence.
8 * To find out which browsers support IndexedDB, 8 * To find out which browsers support IndexedDB,
9 * refer to [Can I Use?](http://caniuse.com/#feat=indexeddb) 9 * refer to [Can I Use?](http://caniuse.com/#feat=indexeddb)
10 * 10 *
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 @DocsEditable() 300 @DocsEditable()
301 @annotation_Creates_SerializedScriptValue 301 @annotation_Creates_SerializedScriptValue
302 @annotation_Returns_SerializedScriptValue 302 @annotation_Returns_SerializedScriptValue
303 final dynamic _get_value; 303 final dynamic _get_value;
304 } 304 }
305 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 305 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
306 // for details. All rights reserved. Use of this source code is governed by a 306 // for details. All rights reserved. Use of this source code is governed by a
307 // BSD-style license that can be found in the LICENSE file. 307 // BSD-style license that can be found in the LICENSE file.
308 308
309 309
310 /**
311 * An indexed database object for storing client-side data
312 * in web apps.
313 */
310 @DocsEditable() 314 @DocsEditable()
311 @DomName('IDBDatabase') 315 @DomName('IDBDatabase')
312 @SupportedBrowser(SupportedBrowser.CHROME) 316 @SupportedBrowser(SupportedBrowser.CHROME)
313 @SupportedBrowser(SupportedBrowser.FIREFOX, '15') 317 @SupportedBrowser(SupportedBrowser.FIREFOX, '15')
314 @SupportedBrowser(SupportedBrowser.IE, '10') 318 @SupportedBrowser(SupportedBrowser.IE, '10')
315 @Experimental() 319 @Experimental()
316 @Unstable() 320 @Unstable()
317 class Database extends EventTarget native "IDBDatabase" { 321 class Database extends EventTarget native "IDBDatabase" {
318 @DomName('IDBDatabase.createObjectStore') 322 @DomName('IDBDatabase.createObjectStore')
319 @DocsEditable() 323 @DocsEditable()
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1339 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1336 // for details. All rights reserved. Use of this source code is governed by a 1340 // for details. All rights reserved. Use of this source code is governed by a
1337 // BSD-style license that can be found in the LICENSE file. 1341 // BSD-style license that can be found in the LICENSE file.
1338 1342
1339 1343
1340 @DocsEditable() 1344 @DocsEditable()
1341 @DomName('IDBAny') 1345 @DomName('IDBAny')
1342 @deprecated // nonstandard 1346 @deprecated // nonstandard
1343 abstract class _IDBAny extends Interceptor native "IDBAny" { 1347 abstract class _IDBAny extends Interceptor native "IDBAny" {
1344 } 1348 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698