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

Unified Diff: client/dom/generated/src/frog/TextTrack.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/TextTrack.dart
diff --git a/client/dom/generated/src/frog/TextTrack.dart b/client/dom/generated/src/frog/TextTrack.dart
index 4c791036f0bb205379c0635d88327902162594f8..eca0680585a4f278fb2e84b821999e0d108c06e1 100644
--- a/client/dom/generated/src/frog/TextTrack.dart
+++ b/client/dom/generated/src/frog/TextTrack.dart
@@ -7,23 +7,19 @@ class _TextTrackJs extends _DOMTypeJs implements TextTrack native "*TextTrack" {
static final int SHOWING = 2;
- _TextTrackCueListJs get activeCues() native "return this.activeCues;";
+ final _TextTrackCueListJs activeCues;
- _TextTrackCueListJs get cues() native "return this.cues;";
+ final _TextTrackCueListJs cues;
- String get kind() native "return this.kind;";
+ final String kind;
- String get label() native "return this.label;";
+ final String label;
- String get language() native "return this.language;";
+ final String language;
- int get mode() native "return this.mode;";
+ int mode;
- void set mode(int value) native "this.mode = value;";
-
- EventListener get oncuechange() native "return this.oncuechange;";
-
- void set oncuechange(EventListener value) native "this.oncuechange = value;";
+ EventListener oncuechange;
void addCue(_TextTrackCueJs cue) native;

Powered by Google App Engine
This is Rietveld 408576698