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

Unified Diff: client/dom/generated/src/frog/Entry.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/Entry.dart
diff --git a/client/dom/generated/src/frog/Entry.dart b/client/dom/generated/src/frog/Entry.dart
index bc92c7250a7afd856bcaf2f76c40b6ee2fd7bbd0..a7985cdd99f62a8b9a57acacad09cebcbf74bf34 100644
--- a/client/dom/generated/src/frog/Entry.dart
+++ b/client/dom/generated/src/frog/Entry.dart
@@ -1,15 +1,15 @@
class _EntryJs extends _DOMTypeJs implements Entry native "*Entry" {
- _DOMFileSystemJs get filesystem() native "return this.filesystem;";
+ final _DOMFileSystemJs filesystem;
- String get fullPath() native "return this.fullPath;";
+ final String fullPath;
- bool get isDirectory() native "return this.isDirectory;";
+ final bool isDirectory;
- bool get isFile() native "return this.isFile;";
+ final bool isFile;
- String get name() native "return this.name;";
+ final String name;
void copyTo(_DirectoryEntryJs parent, [String name = null, EntryCallback successCallback = null, ErrorCallback errorCallback = null]) native;

Powered by Google App Engine
This is Rietveld 408576698