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

Unified Diff: modules/webaudio/AudioNode.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 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
« no previous file with comments | « modules/webaudio/AudioListener.idl ('k') | modules/webaudio/AudioParam.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webaudio/AudioNode.idl
diff --git a/modules/webaudio/AudioNode.idl b/modules/webaudio/AudioNode.idl
index 41396a38b3ae772350807e4633b89b8a6c0f6ba6..56c3425a11ebfee09450f29ba0dadd994b6753aa 100644
--- a/modules/webaudio/AudioNode.idl
+++ b/modules/webaudio/AudioNode.idl
@@ -37,13 +37,18 @@ enum ChannelInterpretation {
[
Conditional=WEB_AUDIO,
- Custom=Wrap,
GarbageCollected,
+ TypeChecking=Interface
] interface AudioNode : EventTarget {
- // FIXME: AudioNode argument should not be nullable
- [RaisesException] void connect(AudioNode? destination, [Default=Undefined] optional unsigned long output, [Default=Undefined] optional unsigned long input);
- [RaisesException] void connect(AudioParam destination, [Default=Undefined] optional unsigned long output);
- [RaisesException] void disconnect([Default=Undefined] optional unsigned long output);
+ [RaisesException] void connect(AudioNode destination, optional unsigned long output = 0, optional unsigned long input = 0);
+ [RaisesException] void connect(AudioParam destination, optional unsigned long output = 0);
+ void disconnect();
+ [RaisesException] void disconnect(unsigned long output);
+ [RaisesException] void disconnect(AudioNode destination);
+ [RaisesException] void disconnect(AudioNode destination, unsigned long output);
+ [RaisesException] void disconnect(AudioNode destination, unsigned long output, unsigned long input);
+ [RaisesException] void disconnect(AudioParam destination);
+ [RaisesException] void disconnect(AudioParam destination, unsigned long output);
readonly attribute AudioContext context;
readonly attribute unsigned long numberOfInputs;
readonly attribute unsigned long numberOfOutputs;
« no previous file with comments | « modules/webaudio/AudioListener.idl ('k') | modules/webaudio/AudioParam.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698