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

Unified Diff: client/dom/generated/src/frog/WorkerNavigator.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/WorkerNavigator.dart
diff --git a/client/dom/generated/src/frog/WorkerNavigator.dart b/client/dom/generated/src/frog/WorkerNavigator.dart
index 573de7c5e6a8a137c44856749469ed8f3dc6d6ed..d38c80e97b60b4ca6a2d2340b7dfdf575c4d6917 100644
--- a/client/dom/generated/src/frog/WorkerNavigator.dart
+++ b/client/dom/generated/src/frog/WorkerNavigator.dart
@@ -1,13 +1,13 @@
class _WorkerNavigatorJs extends _DOMTypeJs implements WorkerNavigator native "*WorkerNavigator" {
- String get appName() native "return this.appName;";
+ final String appName;
- String get appVersion() native "return this.appVersion;";
+ final String appVersion;
- bool get onLine() native "return this.onLine;";
+ final bool onLine;
- String get platform() native "return this.platform;";
+ final String platform;
- String get userAgent() native "return this.userAgent;";
+ final String userAgent;
}

Powered by Google App Engine
This is Rietveld 408576698