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

Unified Diff: client/dom/generated/src/frog/IDBRequest.dart

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 11 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
Index: client/dom/generated/src/frog/IDBRequest.dart
diff --git a/client/dom/generated/src/frog/IDBRequest.dart b/client/dom/generated/src/frog/IDBRequest.dart
index 33811f541e7ed1d123c20f847267c50c607a7218..63700cf10b5e3ed1257c134408cabede15b8d468 100644
--- a/client/dom/generated/src/frog/IDBRequest.dart
+++ b/client/dom/generated/src/frog/IDBRequest.dart
@@ -5,25 +5,21 @@ class _IDBRequestJs extends _DOMTypeJs implements IDBRequest native "*IDBRequest
static final int LOADING = 1;
- int get errorCode() native "return this.errorCode;";
+ final int errorCode;
- EventListener get onerror() native "return this.onerror;";
+ EventListener onerror;
- void set onerror(EventListener value) native "this.onerror = value;";
+ EventListener onsuccess;
- EventListener get onsuccess() native "return this.onsuccess;";
+ final int readyState;
- void set onsuccess(EventListener value) native "this.onsuccess = value;";
+ final _IDBAnyJs result;
- int get readyState() native "return this.readyState;";
+ final _IDBAnyJs source;
- _IDBAnyJs get result() native "return this.result;";
+ final _IDBTransactionJs transaction;
- _IDBAnyJs get source() native "return this.source;";
-
- _IDBTransactionJs get transaction() native "return this.transaction;";
-
- String get webkitErrorMessage() native "return this.webkitErrorMessage;";
+ final String webkitErrorMessage;
void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;

Powered by Google App Engine
This is Rietveld 408576698