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

Side by Side Diff: client/dom/generated/src/frog/BiquadFilterNode.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 _BiquadFilterNodeJs extends _AudioNodeJs implements BiquadFilterNode nativ e "*BiquadFilterNode" { 2 class _BiquadFilterNodeJs extends _AudioNodeJs implements BiquadFilterNode nativ e "*BiquadFilterNode" {
3 3
4 static final int ALLPASS = 7; 4 static final int ALLPASS = 7;
5 5
6 static final int BANDPASS = 2; 6 static final int BANDPASS = 2;
7 7
8 static final int HIGHPASS = 1; 8 static final int HIGHPASS = 1;
9 9
10 static final int HIGHSHELF = 4; 10 static final int HIGHSHELF = 4;
11 11
12 static final int LOWPASS = 0; 12 static final int LOWPASS = 0;
13 13
14 static final int LOWSHELF = 3; 14 static final int LOWSHELF = 3;
15 15
16 static final int NOTCH = 6; 16 static final int NOTCH = 6;
17 17
18 static final int PEAKING = 5; 18 static final int PEAKING = 5;
19 19
20 _AudioParamJs get Q() native "return this.Q;"; 20 final _AudioParamJs Q;
21 21
22 _AudioParamJs get frequency() native "return this.frequency;"; 22 final _AudioParamJs frequency;
23 23
24 _AudioParamJs get gain() native "return this.gain;"; 24 final _AudioParamJs gain;
25 25
26 int get type() native "return this.type;"; 26 int type;
27
28 void set type(int value) native "this.type = value;";
29 27
30 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp onse, _Float32ArrayJs phaseResponse) native; 28 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp onse, _Float32ArrayJs phaseResponse) native;
31 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698