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

Unified Diff: client/dom/generated/src/frog/File.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/File.dart
diff --git a/client/dom/generated/src/frog/File.dart b/client/dom/generated/src/frog/File.dart
index 4c2fbc632ec94f0c66d726d6685c3b1f2a9ec883..cc1245fa37c81232734c66718d00b6a82395c0c5 100644
--- a/client/dom/generated/src/frog/File.dart
+++ b/client/dom/generated/src/frog/File.dart
@@ -1,13 +1,13 @@
class _FileJs extends _BlobJs implements File native "*File" {
- String get fileName() native "return this.fileName;";
+ final String fileName;
- int get fileSize() native "return this.fileSize;";
+ final int fileSize;
- Date get lastModifiedDate() native "return this.lastModifiedDate;";
+ final Date lastModifiedDate;
- String get name() native "return this.name;";
+ final String name;
- String get webkitRelativePath() native "return this.webkitRelativePath;";
+ final String webkitRelativePath;
}

Powered by Google App Engine
This is Rietveld 408576698