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

Side by Side Diff: client/dom/generated/src/frog/Clipboard.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 _ClipboardJs extends _DOMTypeJs implements Clipboard native "*Clipboard" { 2 class _ClipboardJs extends _DOMTypeJs implements Clipboard native "*Clipboard" {
3 3
4 String get dropEffect() native "return this.dropEffect;"; 4 String dropEffect;
5 5
6 void set dropEffect(String value) native "this.dropEffect = value;"; 6 String effectAllowed;
7 7
8 String get effectAllowed() native "return this.effectAllowed;"; 8 final _FileListJs files;
9 9
10 void set effectAllowed(String value) native "this.effectAllowed = value;"; 10 final _DataTransferItemListJs items;
11 11
12 _FileListJs get files() native "return this.files;"; 12 final List types;
13
14 _DataTransferItemListJs get items() native "return this.items;";
15
16 List get types() native "return this.types;";
17 13
18 void clearData([String type = null]) native; 14 void clearData([String type = null]) native;
19 15
20 void getData(String type) native; 16 void getData(String type) native;
21 17
22 bool setData(String type, String data) native; 18 bool setData(String type, String data) native;
23 19
24 void setDragImage(_HTMLImageElementJs image, int x, int y) native; 20 void setDragImage(_HTMLImageElementJs image, int x, int y) native;
25 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698