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

Unified Diff: sdk/lib/indexed_db/dartium/indexed_db_dartium.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/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | tests/html/canvasrenderingcontext2d_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
diff --git a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
index 3e843ac4b324f36c64251f1c9f6c84406cd15d71..0c150df30ddc0952c9bb2adc9ee0c79f958add48 100644
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
@@ -80,6 +80,10 @@ class Cursor extends NativeFieldWrapperClass1 {
@DocsEditable
void advance(int count) native "IDBCursor_advance_Callback";
+ @DomName('IDBCursor.delete')
+ @DocsEditable
+ Request $dom_delete() native "IDBCursor_delete_Callback";
+
void next([Object key]) {
if (?key) {
_continue_1(key);
@@ -97,10 +101,6 @@ class Cursor extends NativeFieldWrapperClass1 {
@DocsEditable
void _continue_2() native "IDBCursor__continue_2_Callback";
- @DomName('IDBCursor.delete')
- @DocsEditable
- Request $dom_delete() native "IDBCursor_delete_Callback";
-
@DomName('IDBCursor.update')
@DocsEditable
Request $dom_update(Object value) native "IDBCursor_update_Callback";
@@ -801,10 +801,10 @@ class ObjectStore extends NativeFieldWrapperClass1 {
}
}
- @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) {
@@ -975,7 +975,7 @@ class ObjectStore extends NativeFieldWrapperClass1 {
@DocsEditable
void deleteIndex(String name) native "IDBObjectStore_deleteIndex_Callback";
- Request $dom_getObject(key) {
+ Request $dom_get(key) {
if ((key is KeyRange || key == null)) {
return _get_1(key);
}
« no previous file with comments | « sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | tests/html/canvasrenderingcontext2d_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698