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

Unified Diff: sdk/lib/html/scripts/generator.py

Issue 11434079: Adding dart:indexed_db. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Syncing with latest. Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/scripts/dartdomgenerator.py ('k') | sdk/lib/html/scripts/htmleventgenerator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/scripts/generator.py
diff --git a/sdk/lib/html/scripts/generator.py b/sdk/lib/html/scripts/generator.py
index 703e14889b8aa802134f6bafabc43720d8cc53d4..eb9c3b41d4589dfd613fddc32cbc7d5f41f39278 100644
--- a/sdk/lib/html/scripts/generator.py
+++ b/sdk/lib/html/scripts/generator.py
@@ -648,20 +648,20 @@ dart2js_annotations = {
# IDBRequest.
'IDBRequest.source': "@Creates('Null')",
- 'IDBFactory.open': "@Creates('IDBDatabase')",
+ 'IDBFactory.open': "@Creates('Database')",
'IDBObjectStore.put': "@_annotation_Creates_IDBKey",
'IDBObjectStore.add': "@_annotation_Creates_IDBKey",
'IDBObjectStore.get': "@annotation_Creates_SerializedScriptValue",
- 'IDBObjectStore.openCursor': "@Creates('IDBCursor')",
+ 'IDBObjectStore.openCursor': "@Creates('Cursor')",
'IDBIndex.get': "@annotation_Creates_SerializedScriptValue",
'IDBIndex.getKey':
"@annotation_Creates_SerializedScriptValue "
# The source is the object store behind the index.
- "@Creates('IDBObjectStore')",
- 'IDBIndex.openCursor': "@Creates('IDBCursor')",
- 'IDBIndex.openKeyCursor': "@Creates('IDBCursor')",
+ "@Creates('ObjectStore')",
+ 'IDBIndex.openCursor': "@Creates('Cursor')",
+ 'IDBIndex.openKeyCursor': "@Creates('Cursor')",
'IDBCursorWithValue.value':
'@annotation_Creates_SerializedScriptValue '
@@ -669,10 +669,10 @@ dart2js_annotations = {
'IDBCursor.key': "@_annotation_Creates_IDBKey @_annotation_Returns_IDBKey",
- '+IDBRequest': "@Returns('IDBRequest') @Creates('IDBRequest')",
+ '+IDBRequest': "@Returns('Request') @Creates('Request')",
- '+IDBOpenDBRequest': "@Returns('IDBRequest') @Creates('IDBRequest')",
- '+IDBVersionChangeRequest': "@Returns('IDBRequest') @Creates('IDBRequest')",
+ '+IDBOpenDBRequest': "@Returns('Request') @Creates('Request')",
+ '+IDBVersionChangeRequest': "@Returns('Request') @Creates('Request')",
'MessageEvent.ports': "@Creates('=List')",
« no previous file with comments | « sdk/lib/html/scripts/dartdomgenerator.py ('k') | sdk/lib/html/scripts/htmleventgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698