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

Side by Side Diff: client/dom/generated/src/frog/RealtimeAnalyserNode.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 _RealtimeAnalyserNodeJs extends _AudioNodeJs implements RealtimeAnalyserNo de native "*RealtimeAnalyserNode" { 2 class _RealtimeAnalyserNodeJs extends _AudioNodeJs implements RealtimeAnalyserNo de native "*RealtimeAnalyserNode" {
3 3
4 int get fftSize() native "return this.fftSize;"; 4 int fftSize;
5 5
6 void set fftSize(int value) native "this.fftSize = value;"; 6 final int frequencyBinCount;
7 7
8 int get frequencyBinCount() native "return this.frequencyBinCount;"; 8 num maxDecibels;
9 9
10 num get maxDecibels() native "return this.maxDecibels;"; 10 num minDecibels;
11 11
12 void set maxDecibels(num value) native "this.maxDecibels = value;"; 12 num smoothingTimeConstant;
13
14 num get minDecibels() native "return this.minDecibels;";
15
16 void set minDecibels(num value) native "this.minDecibels = value;";
17
18 num get smoothingTimeConstant() native "return this.smoothingTimeConstant;";
19
20 void set smoothingTimeConstant(num value) native "this.smoothingTimeConstant = value;";
21 13
22 void getByteFrequencyData(_Uint8ArrayJs array) native; 14 void getByteFrequencyData(_Uint8ArrayJs array) native;
23 15
24 void getByteTimeDomainData(_Uint8ArrayJs array) native; 16 void getByteTimeDomainData(_Uint8ArrayJs array) native;
25 17
26 void getFloatFrequencyData(_Float32ArrayJs array) native; 18 void getFloatFrequencyData(_Float32ArrayJs array) native;
27 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698