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

Side by Side Diff: Source/modules/webaudio/AudioNode.idl

Issue 18778002: Inherit EventTarget interface instead of duplicating its code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 23 matching lines...) Expand all
34 34
35 [SetterRaisesException] attribute DOMString channelCountMode; 35 [SetterRaisesException] attribute DOMString channelCountMode;
36 36
37 [SetterRaisesException] attribute DOMString channelInterpretation; 37 [SetterRaisesException] attribute DOMString channelInterpretation;
38 38
39 [RaisesException] void connect(AudioNode? destination, [Default=Undefined] o ptional unsigned long output, [Default=Undefined] optional unsigned long input); 39 [RaisesException] void connect(AudioNode? destination, [Default=Undefined] o ptional unsigned long output, [Default=Undefined] optional unsigned long input);
40 40
41 [RaisesException] void connect(AudioParam? destination, [Default=Undefined] optional unsigned long output); 41 [RaisesException] void connect(AudioParam? destination, [Default=Undefined] optional unsigned long output);
42 42
43 [RaisesException] void disconnect([Default=Undefined] optional unsigned long output); 43 [RaisesException] void disconnect([Default=Undefined] optional unsigned long output);
44
45
46 // EventTarget interface
47 void addEventListener(DOMString type,
48 EventListener listener,
49 optional boolean useCapture);
50 void removeEventListener(DOMString type,
51 EventListener listener,
52 optional boolean useCapture);
53 [RaisesException] boolean dispatchEvent(Event event);
54 }; 44 };
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioContext.idl ('k') | Source/modules/webaudio/OfflineAudioContext.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698