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

Side by Side Diff: client/dom/generated/src/frog/AudioParam.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 _AudioParamJs extends _DOMTypeJs implements AudioParam native "*AudioParam " { 2 class _AudioParamJs extends _DOMTypeJs implements AudioParam native "*AudioParam " {
3 3
4 num get defaultValue() native "return this.defaultValue;"; 4 final num defaultValue;
5 5
6 num get maxValue() native "return this.maxValue;"; 6 final num maxValue;
7 7
8 num get minValue() native "return this.minValue;"; 8 final num minValue;
9 9
10 String get name() native "return this.name;"; 10 final String name;
11 11
12 int get units() native "return this.units;"; 12 final int units;
13 13
14 num get value() native "return this.value;"; 14 num value;
15
16 void set value(num value) native "this.value = value;";
17 15
18 void cancelScheduledValues(num startTime) native; 16 void cancelScheduledValues(num startTime) native;
19 17
20 void exponentialRampToValueAtTime(num value, num time) native; 18 void exponentialRampToValueAtTime(num value, num time) native;
21 19
22 void linearRampToValueAtTime(num value, num time) native; 20 void linearRampToValueAtTime(num value, num time) native;
23 21
24 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native; 22 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native;
25 23
26 void setValueAtTime(num value, num time) native; 24 void setValueAtTime(num value, num time) native;
27 25
28 void setValueCurveAtTime(_Float32ArrayJs values, num time, num duration) nativ e; 26 void setValueCurveAtTime(_Float32ArrayJs values, num time, num duration) nativ e;
29 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698