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

Unified Diff: client/dom/generated/src/frog/WorkerContext.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/WorkerContext.dart
diff --git a/client/dom/generated/src/frog/WorkerContext.dart b/client/dom/generated/src/frog/WorkerContext.dart
index 6a3e5fcc4ff349283ef07ca9646bdbfaa86139e7..ae49c997dd701e91f3686e17e3cd1718fc31bd43 100644
--- a/client/dom/generated/src/frog/WorkerContext.dart
+++ b/client/dom/generated/src/frog/WorkerContext.dart
@@ -5,27 +5,19 @@ class _WorkerContextJs extends _DOMTypeJs implements WorkerContext native "*Work
static final int TEMPORARY = 0;
- _WorkerLocationJs get location() native "return this.location;";
+ _WorkerLocationJs location;
- void set location(_WorkerLocationJs value) native "this.location = value;";
+ _WorkerNavigatorJs navigator;
- _WorkerNavigatorJs get navigator() native "return this.navigator;";
+ EventListener onerror;
- void set navigator(_WorkerNavigatorJs value) native "this.navigator = value;";
+ _WorkerContextJs self;
- EventListener get onerror() native "return this.onerror;";
+ final _IDBFactoryJs webkitIndexedDB;
- void set onerror(EventListener value) native "this.onerror = value;";
+ final _NotificationCenterJs webkitNotifications;
- _WorkerContextJs get self() native "return this.self;";
-
- void set self(_WorkerContextJs value) native "this.self = value;";
-
- _IDBFactoryJs get webkitIndexedDB() native "return this.webkitIndexedDB;";
-
- _NotificationCenterJs get webkitNotifications() native "return this.webkitNotifications;";
-
- _DOMURLJs get webkitURL() native "return this.webkitURL;";
+ final _DOMURLJs webkitURL;
void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;

Powered by Google App Engine
This is Rietveld 408576698