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

Unified Diff: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and prefix use counter names with WebAudio Created 4 years, 3 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: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
index 7f418da3a8635ccd6d9ebbc7529c59197f268265..c16bee95c59d429aa7b2f86f55b637e245b04aaf 100644
--- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
@@ -15,6 +15,7 @@
namespace blink {
class BaseAudioContext;
+class StereoPannerOptions;
// StereoPannerNode is an AudioNode with one input and one output. It is
// specifically designed for equal-power stereo panning.
@@ -44,6 +45,7 @@ class StereoPannerNode final : public AudioNode {
DEFINE_WRAPPERTYPEINFO();
public:
static StereoPannerNode* create(BaseAudioContext&, ExceptionState&);
+ static StereoPannerNode* create(BaseAudioContext*, const StereoPannerOptions&, ExceptionState&);
DECLARE_VIRTUAL_TRACE();
AudioParam* pan() const;

Powered by Google App Engine
This is Rietveld 408576698