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

Unified Diff: client/dom/generated/src/interface/AudioBuffer.dart

Issue 9341007: Use 'field' syntax in dart:dom interfaces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/interface/AudioBuffer.dart
diff --git a/client/dom/generated/src/interface/AudioBuffer.dart b/client/dom/generated/src/interface/AudioBuffer.dart
index 1ae2733efa790730a6ee626d24865bdfabe757a3..7eea5b74d6927ae83b70d82a13795d62c8132b60 100644
--- a/client/dom/generated/src/interface/AudioBuffer.dart
+++ b/client/dom/generated/src/interface/AudioBuffer.dart
@@ -6,17 +6,15 @@
interface AudioBuffer {
- num get duration();
+ final num duration;
- num get gain();
+ num gain;
- void set gain(num value);
+ final int length;
- int get length();
+ final int numberOfChannels;
- int get numberOfChannels();
-
- num get sampleRate();
+ final num sampleRate;
Float32Array getChannelData(int channelIndex);
}

Powered by Google App Engine
This is Rietveld 408576698