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

Unified 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, 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/RealtimeAnalyserNode.dart
diff --git a/client/dom/generated/src/frog/RealtimeAnalyserNode.dart b/client/dom/generated/src/frog/RealtimeAnalyserNode.dart
index 618a6432f704c084a54645864675a305f990bb2b..d803ee526ce84b3a03fd3e61c0947150e9e5a0b2 100644
--- a/client/dom/generated/src/frog/RealtimeAnalyserNode.dart
+++ b/client/dom/generated/src/frog/RealtimeAnalyserNode.dart
@@ -1,23 +1,15 @@
class _RealtimeAnalyserNodeJs extends _AudioNodeJs implements RealtimeAnalyserNode native "*RealtimeAnalyserNode" {
- int get fftSize() native "return this.fftSize;";
+ int fftSize;
- void set fftSize(int value) native "this.fftSize = value;";
+ final int frequencyBinCount;
- int get frequencyBinCount() native "return this.frequencyBinCount;";
+ num maxDecibels;
- num get maxDecibels() native "return this.maxDecibels;";
+ num minDecibels;
- void set maxDecibels(num value) native "this.maxDecibels = value;";
-
- num get minDecibels() native "return this.minDecibels;";
-
- void set minDecibels(num value) native "this.minDecibels = value;";
-
- num get smoothingTimeConstant() native "return this.smoothingTimeConstant;";
-
- void set smoothingTimeConstant(num value) native "this.smoothingTimeConstant = value;";
+ num smoothingTimeConstant;
void getByteFrequencyData(_Uint8ArrayJs array) native;

Powered by Google App Engine
This is Rietveld 408576698