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

Unified Diff: client/dom/generated/src/frog/Navigator.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/Navigator.dart
diff --git a/client/dom/generated/src/frog/Navigator.dart b/client/dom/generated/src/frog/Navigator.dart
index 9f626d9f5ab5e8582af0bbddeeadba8bf806d9e6..33c3d1b9dd6d7a018a40a4684c457418f88b97b0 100644
--- a/client/dom/generated/src/frog/Navigator.dart
+++ b/client/dom/generated/src/frog/Navigator.dart
@@ -1,35 +1,35 @@
class _NavigatorJs extends _DOMTypeJs implements Navigator native "*Navigator" {
- String get appCodeName() native "return this.appCodeName;";
+ final String appCodeName;
- String get appName() native "return this.appName;";
+ final String appName;
- String get appVersion() native "return this.appVersion;";
+ final String appVersion;
- bool get cookieEnabled() native "return this.cookieEnabled;";
+ final bool cookieEnabled;
- _GeolocationJs get geolocation() native "return this.geolocation;";
+ final _GeolocationJs geolocation;
- String get language() native "return this.language;";
+ final String language;
- _DOMMimeTypeArrayJs get mimeTypes() native "return this.mimeTypes;";
+ final _DOMMimeTypeArrayJs mimeTypes;
- bool get onLine() native "return this.onLine;";
+ final bool onLine;
- String get platform() native "return this.platform;";
+ final String platform;
- _DOMPluginArrayJs get plugins() native "return this.plugins;";
+ final _DOMPluginArrayJs plugins;
- String get product() native "return this.product;";
+ final String product;
- String get productSub() native "return this.productSub;";
+ final String productSub;
- String get userAgent() native "return this.userAgent;";
+ final String userAgent;
- String get vendor() native "return this.vendor;";
+ final String vendor;
- String get vendorSub() native "return this.vendorSub;";
+ final String vendorSub;
void getStorageUpdates() native;

Powered by Google App Engine
This is Rietveld 408576698