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

Unified Diff: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart

Issue 1392723003: Switch dart:html objects not to be NativeFieldWrapper subclasses with JsInterop (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/js/dartium/js_dartium.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 300c5d4abcbd63002992e509e38ab77f703bf548..cb1717847c3d8580d2cc65cfff136f8c3097bf46 100644
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
@@ -145,7 +145,7 @@ final indexed_dbBlinkFunctionMap = {
@DomName('IDBCursor')
@Unstable()
-class Cursor extends NativeFieldWrapperClass2 {
+class Cursor extends DartHtmlDomObject {
@DomName('IDBCursor.delete')
Future delete() {
try {
@@ -171,8 +171,6 @@ class Cursor extends NativeFieldWrapperClass2 {
return new Cursor._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory Cursor._internalWrap() {
return new Cursor.internal_();
}
@@ -449,7 +447,7 @@ class Database extends EventTarget {
@SupportedBrowser(SupportedBrowser.IE, '10')
@Experimental()
@Unstable()
-class IdbFactory extends NativeFieldWrapperClass2 {
+class IdbFactory extends DartHtmlDomObject {
/**
* Checks to see if Indexed DB is supported on the current platform.
*/
@@ -532,8 +530,6 @@ class IdbFactory extends NativeFieldWrapperClass2 {
return new IdbFactory._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory IdbFactory._internalWrap() {
return new IdbFactory.internal_();
}
@@ -589,7 +585,7 @@ Future _completeRequest(Request request) {
@DomName('IDBIndex')
@Unstable()
-class Index extends NativeFieldWrapperClass2 {
+class Index extends DartHtmlDomObject {
@DomName('IDBIndex.count')
Future<int> count([key_OR_range]) {
try {
@@ -685,8 +681,6 @@ class Index extends NativeFieldWrapperClass2 {
return new Index._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory Index._internalWrap() {
return new Index.internal_();
}
@@ -750,7 +744,7 @@ class Index extends NativeFieldWrapperClass2 {
@DomName('IDBKeyRange')
@Unstable()
-class KeyRange extends NativeFieldWrapperClass2 {
+class KeyRange extends DartHtmlDomObject {
@DomName('IDBKeyRange.only')
factory KeyRange.only(/*Key*/ value) =>
_KeyRangeFactoryProvider.createKeyRange_only(value);
@@ -776,8 +770,6 @@ class KeyRange extends NativeFieldWrapperClass2 {
return new KeyRange._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory KeyRange._internalWrap() {
return new KeyRange.internal_();
}
@@ -840,7 +832,7 @@ class KeyRange extends NativeFieldWrapperClass2 {
@DomName('IDBObjectStore')
@Unstable()
-class ObjectStore extends NativeFieldWrapperClass2 {
+class ObjectStore extends DartHtmlDomObject {
@DomName('IDBObjectStore.add')
Future add(value, [key]) {
@@ -975,8 +967,6 @@ class ObjectStore extends NativeFieldWrapperClass2 {
return new ObjectStore._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory ObjectStore._internalWrap() {
return new ObjectStore.internal_();
}
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/js/dartium/js_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698