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

Unified Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Issue 12964003: Allowing renaming on DOM members on a per-method basis (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
diff --git a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
index 9ecf7cb21c32ec1acaba0e27869e2134193ad90c..79a467c1a0ab4ef1ee568135ec4864c62367234b 100644
--- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
+++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
@@ -179,16 +179,16 @@ class Cursor native "*IDBCursor" {
@DocsEditable
void advance(int count) native;
- @JSName('continue')
- @DomName('IDBCursor.continue')
- @DocsEditable
- void next([Object key]) native;
-
@JSName('delete')
@DomName('IDBCursor.delete')
@DocsEditable
Request $dom_delete() native;
+ @JSName('continue')
+ @DomName('IDBCursor.continue')
+ @DocsEditable
+ void next([Object key]) native;
+
@DomName('IDBCursor.update')
@DocsEditable
Request $dom_update(/*any*/ value) {
@@ -766,10 +766,10 @@ class ObjectStore native "*IDBObjectStore" {
}
}
- @DomName('IDBObjectStore.getObject')
+ @DomName('IDBObjectStore.get')
Future getObject(key) {
try {
- var request = $dom_getObject(key);
+ var request = $dom_get(key);
return _completeRequest(request);
} catch (e, stacktrace) {
@@ -949,7 +949,7 @@ class ObjectStore native "*IDBObjectStore" {
@Returns('Request')
@Creates('Request')
@annotation_Creates_SerializedScriptValue
- Request $dom_getObject(key) native;
+ Request $dom_get(key) native;
@DomName('IDBObjectStore.index')
@DocsEditable
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698