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

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

Issue 2871193002: New sdk/lib generated from Chrome 50 IDLs (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/svg/dart2js/svg_dart2js.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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 @DomName('IDBDatabase.objectStoreNames') 450 @DomName('IDBDatabase.objectStoreNames')
451 @DocsEditable() 451 @DocsEditable()
452 @Returns('DomStringList|Null') 452 @Returns('DomStringList|Null')
453 @Creates('DomStringList') 453 @Creates('DomStringList')
454 final List<String> objectStoreNames; 454 final List<String> objectStoreNames;
455 455
456 @DomName('IDBDatabase.version') 456 @DomName('IDBDatabase.version')
457 @DocsEditable() 457 @DocsEditable()
458 @Creates('int|String|Null') 458 @Creates('int|String|Null')
459 @Returns('int|String|Null') 459 @Returns('int|String|Null')
460 final Object version; 460 final int version;
461 461
462 @DomName('IDBDatabase.close') 462 @DomName('IDBDatabase.close')
463 @DocsEditable() 463 @DocsEditable()
464 void close() native; 464 void close() native;
465 465
466 @DomName('IDBDatabase.createObjectStore') 466 @DomName('IDBDatabase.createObjectStore')
467 @DocsEditable() 467 @DocsEditable()
468 ObjectStore _createObjectStore(String name, [Map options]) { 468 ObjectStore _createObjectStore(String name, [Map options]) {
469 if (options != null) { 469 if (options != null) {
470 var options_1 = convertDartToNative_Dictionary(options); 470 var options_1 = convertDartToNative_Dictionary(options);
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 * 1294 *
1295 * See [EventStreamProvider] for usage information. 1295 * See [EventStreamProvider] for usage information.
1296 */ 1296 */
1297 @DomName('IDBRequest.successEvent') 1297 @DomName('IDBRequest.successEvent')
1298 @DocsEditable() 1298 @DocsEditable()
1299 static const EventStreamProvider<Event> successEvent = 1299 static const EventStreamProvider<Event> successEvent =
1300 const EventStreamProvider<Event>('success'); 1300 const EventStreamProvider<Event>('success');
1301 1301
1302 @DomName('IDBRequest.error') 1302 @DomName('IDBRequest.error')
1303 @DocsEditable() 1303 @DocsEditable()
1304 final DomError error; 1304 final DomException error;
1305 1305
1306 @DomName('IDBRequest.readyState') 1306 @DomName('IDBRequest.readyState')
1307 @DocsEditable() 1307 @DocsEditable()
1308 final String readyState; 1308 final String readyState;
1309 1309
1310 @DomName('IDBRequest.result') 1310 @DomName('IDBRequest.result')
1311 @DocsEditable() 1311 @DocsEditable()
1312 dynamic get result => _convertNativeToDart_IDBAny(this._get_result); 1312 dynamic get result => _convertNativeToDart_IDBAny(this._get_result);
1313 @JSName('result') 1313 @JSName('result')
1314 @DomName('IDBRequest.result') 1314 @DomName('IDBRequest.result')
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 @DocsEditable() 1408 @DocsEditable()
1409 static const EventStreamProvider<Event> errorEvent = 1409 static const EventStreamProvider<Event> errorEvent =
1410 const EventStreamProvider<Event>('error'); 1410 const EventStreamProvider<Event>('error');
1411 1411
1412 @DomName('IDBTransaction.db') 1412 @DomName('IDBTransaction.db')
1413 @DocsEditable() 1413 @DocsEditable()
1414 final Database db; 1414 final Database db;
1415 1415
1416 @DomName('IDBTransaction.error') 1416 @DomName('IDBTransaction.error')
1417 @DocsEditable() 1417 @DocsEditable()
1418 final DomError error; 1418 final DomException error;
1419 1419
1420 @DomName('IDBTransaction.mode') 1420 @DomName('IDBTransaction.mode')
1421 @DocsEditable() 1421 @DocsEditable()
1422 final String mode; 1422 final String mode;
1423 1423
1424 @DomName('IDBTransaction.objectStoreNames') 1424 @DomName('IDBTransaction.objectStoreNames')
1425 @DocsEditable() 1425 @DocsEditable()
1426 @Experimental() // untriaged 1426 @Experimental() // untriaged
1427 @Returns('DomStringList|Null') 1427 @Returns('DomStringList|Null')
1428 @Creates('DomStringList') 1428 @Creates('DomStringList')
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 @Creates('int|String|Null') 1497 @Creates('int|String|Null')
1498 @Returns('int|String|Null') 1498 @Returns('int|String|Null')
1499 final int newVersion; 1499 final int newVersion;
1500 1500
1501 @DomName('IDBVersionChangeEvent.oldVersion') 1501 @DomName('IDBVersionChangeEvent.oldVersion')
1502 @DocsEditable() 1502 @DocsEditable()
1503 @Creates('int|String|Null') 1503 @Creates('int|String|Null')
1504 @Returns('int|String|Null') 1504 @Returns('int|String|Null')
1505 final int oldVersion; 1505 final int oldVersion;
1506 } 1506 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698