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

Side by Side 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, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _EntryJs extends _DOMTypeJs implements Entry native "*Entry" { 2 class _EntryJs extends _DOMTypeJs implements Entry native "*Entry" {
3 3
4 _DOMFileSystemJs get filesystem() native "return this.filesystem;"; 4 final _DOMFileSystemJs filesystem;
5 5
6 String get fullPath() native "return this.fullPath;"; 6 final String fullPath;
7 7
8 bool get isDirectory() native "return this.isDirectory;"; 8 final bool isDirectory;
9 9
10 bool get isFile() native "return this.isFile;"; 10 final bool isFile;
11 11
12 String get name() native "return this.name;"; 12 final String name;
13 13
14 void copyTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe ssCallback = null, ErrorCallback errorCallback = null]) native; 14 void copyTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe ssCallback = null, ErrorCallback errorCallback = null]) native;
15 15
16 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) native; 16 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) native;
17 17
18 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) native; 18 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) native;
19 19
20 void moveTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe ssCallback = null, ErrorCallback errorCallback = null]) native; 20 void moveTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe ssCallback = null, ErrorCallback errorCallback = null]) native;
21 21
22 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) native; 22 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) native;
23 23
24 String toURL() native; 24 String toURL() native;
25 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698