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

Unified Diff: lib/html/doc/interface/Oscillator.dartdoc

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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
« no previous file with comments | « lib/html/doc/interface/OptionElement.dartdoc ('k') | lib/html/doc/interface/OutputElement.dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/doc/interface/Oscillator.dartdoc
diff --git a/lib/html/doc/interface/Oscillator.dartdoc b/lib/html/doc/interface/Oscillator.dartdoc
new file mode 100644
index 0000000000000000000000000000000000000000..86bf5b98ee5459853f7be7471949ded8a6d6ce77
--- /dev/null
+++ b/lib/html/doc/interface/Oscillator.dartdoc
@@ -0,0 +1,50 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING:
+// This file contains documentation that is merged into the real source.
+// Do not make code changes here.
+
+/// @domName Oscillator
+interface Oscillator extends AudioSourceNode {
+
+ static final int CUSTOM = 4;
+
+ static final int FINISHED_STATE = 3;
+
+ static final int PLAYING_STATE = 2;
+
+ static final int SAWTOOTH = 2;
+
+ static final int SCHEDULED_STATE = 1;
+
+ static final int SINE = 0;
+
+ static final int SQUARE = 1;
+
+ static final int TRIANGLE = 3;
+
+ static final int UNSCHEDULED_STATE = 0;
+
+ /** @domName Oscillator.detune */
+ final AudioParam detune;
+
+ /** @domName Oscillator.frequency */
+ final AudioParam frequency;
+
+ /** @domName Oscillator.playbackState */
+ final int playbackState;
+
+ /** @domName Oscillator.type */
+ int type;
+
+ /** @domName Oscillator.noteOff */
+ void noteOff(num when);
+
+ /** @domName Oscillator.noteOn */
+ void noteOn(num when);
+
+ /** @domName Oscillator.setWaveTable */
+ void setWaveTable(WaveTable waveTable);
+}
« no previous file with comments | « lib/html/doc/interface/OptionElement.dartdoc ('k') | lib/html/doc/interface/OutputElement.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698