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

Side by Side Diff: client/dom/generated/src/frog/TextTrackCue.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 _TextTrackCueJs extends _DOMTypeJs implements TextTrackCue native "*TextTr ackCue" { 2 class _TextTrackCueJs extends _DOMTypeJs implements TextTrackCue native "*TextTr ackCue" {
3 3
4 String get alignment() native "return this.alignment;"; 4 String alignment;
5 5
6 void set alignment(String value) native "this.alignment = value;"; 6 String direction;
7 7
8 String get direction() native "return this.direction;"; 8 num endTime;
9 9
10 void set direction(String value) native "this.direction = value;"; 10 String id;
11 11
12 num get endTime() native "return this.endTime;"; 12 int linePosition;
13 13
14 void set endTime(num value) native "this.endTime = value;"; 14 EventListener onenter;
15 15
16 String get id() native "return this.id;"; 16 EventListener onexit;
17 17
18 void set id(String value) native "this.id = value;"; 18 bool pauseOnExit;
19 19
20 int get linePosition() native "return this.linePosition;"; 20 int size;
21 21
22 void set linePosition(int value) native "this.linePosition = value;"; 22 bool snapToLines;
23 23
24 EventListener get onenter() native "return this.onenter;"; 24 num startTime;
25 25
26 void set onenter(EventListener value) native "this.onenter = value;"; 26 String text;
27 27
28 EventListener get onexit() native "return this.onexit;"; 28 int textPosition;
29 29
30 void set onexit(EventListener value) native "this.onexit = value;"; 30 final _TextTrackJs track;
31
32 bool get pauseOnExit() native "return this.pauseOnExit;";
33
34 void set pauseOnExit(bool value) native "this.pauseOnExit = value;";
35
36 int get size() native "return this.size;";
37
38 void set size(int value) native "this.size = value;";
39
40 bool get snapToLines() native "return this.snapToLines;";
41
42 void set snapToLines(bool value) native "this.snapToLines = value;";
43
44 num get startTime() native "return this.startTime;";
45
46 void set startTime(num value) native "this.startTime = value;";
47
48 String get text() native "return this.text;";
49
50 void set text(String value) native "this.text = value;";
51
52 int get textPosition() native "return this.textPosition;";
53
54 void set textPosition(int value) native "this.textPosition = value;";
55
56 _TextTrackJs get track() native "return this.track;";
57 31
58 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 32 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
59 33
60 bool dispatchEvent(_EventJs evt) native; 34 bool dispatchEvent(_EventJs evt) native;
61 35
62 _DocumentFragmentJs getCueAsHTML() native; 36 _DocumentFragmentJs getCueAsHTML() native;
63 37
64 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 38 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
65 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698