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

Unified Diff: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Issue 15231009: Regen dart:html from IDL with fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/web_audio/dartium/web_audio_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
diff --git a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
index c6b7b826bfceb021fe5f2242fa4884fe2ecf4d4f..ece0a8ce9a929ffb42edcac897e8b7c8f383501c 100644
--- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
+++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
@@ -180,6 +180,18 @@ class AudioBufferSourceNode extends AudioSourceNode native "AudioBufferSourceNod
@DocsEditable
final int playbackState;
+ @DomName('AudioBufferSourceNode.noteGrainOn')
+ @DocsEditable
+ void noteGrainOn(num when, num grainOffset, num grainDuration) native;
+
+ @DomName('AudioBufferSourceNode.noteOff')
+ @DocsEditable
+ void noteOff(num when) native;
+
+ @DomName('AudioBufferSourceNode.noteOn')
+ @DocsEditable
+ void noteOn(num when) native;
+
}
// 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
@@ -248,10 +260,22 @@ class AudioContext extends EventTarget native "AudioContext" {
@DocsEditable
DelayNode createDelay([num maxDelayTime]) native;
+ @DomName('AudioContext.createDelayNode')
+ @DocsEditable
+ DelayNode createDelayNode([num maxDelayTime]) native;
+
@DomName('AudioContext.createDynamicsCompressor')
@DocsEditable
DynamicsCompressorNode createDynamicsCompressor() native;
+ @DomName('AudioContext.createGainNode')
+ @DocsEditable
+ GainNode createGainNode() native;
+
+ @DomName('AudioContext.createJavaScriptNode')
+ @DocsEditable
+ ScriptProcessorNode createJavaScriptNode(int bufferSize, [int numberOfInputChannels, int numberOfOutputChannels]) native;
+
@DomName('AudioContext.createMediaElementSource')
@DocsEditable
MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement) native;
@@ -451,6 +475,10 @@ class AudioParam native "AudioParam" {
@DocsEditable
void setTargetAtTime(num target, num time, num timeConstant) native;
+ @DomName('AudioParam.setTargetValueAtTime')
+ @DocsEditable
+ void setTargetValueAtTime(num targetValue, num time, num timeConstant) native;
+
@DomName('AudioParam.setValueAtTime')
@DocsEditable
void setValueAtTime(num value, num time) native;
@@ -773,6 +801,14 @@ class OscillatorNode extends AudioSourceNode native "OscillatorNode" {
@DocsEditable
String type;
+ @DomName('OscillatorNode.noteOff')
+ @DocsEditable
+ void noteOff(num when) native;
+
+ @DomName('OscillatorNode.noteOn')
+ @DocsEditable
+ void noteOn(num when) native;
+
@DomName('OscillatorNode.setWaveTable')
@DocsEditable
void setWaveTable(WaveTable waveTable) native;
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/web_audio/dartium/web_audio_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698