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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/webaudio/StereoPannerNode.h" 5 #include "modules/webaudio/StereoPannerNode.h"
6 #include "bindings/core/v8/ExceptionMessages.h" 6 #include "bindings/core/v8/ExceptionMessages.h"
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "core/dom/ExceptionCode.h" 8 #include "core/dom/ExceptionCode.h"
9 #include "core/dom/ExecutionContext.h" 9 #include "core/dom/ExecutionContext.h"
10 #include "modules/webaudio/AudioNodeInput.h" 10 #include "modules/webaudio/AudioNodeInput.h"
11 #include "modules/webaudio/AudioNodeOutput.h" 11 #include "modules/webaudio/AudioNodeOutput.h"
12 #include "modules/webaudio/BaseAudioContext.h" 12 #include "modules/webaudio/BaseAudioContext.h"
13 #include "modules/webaudio/StereoPannerOptions.h" 13 #include "modules/webaudio/StereoPannerOptions.h"
14 #include "platform/audio/StereoPanner.h" 14 #include "platform/audio/StereoPanner.h"
15 #include "wtf/MathExtras.h" 15 #include "platform/wtf/MathExtras.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 StereoPannerHandler::StereoPannerHandler(AudioNode& node, 19 StereoPannerHandler::StereoPannerHandler(AudioNode& node,
20 float sample_rate, 20 float sample_rate,
21 AudioParamHandler& pan) 21 AudioParamHandler& pan)
22 : AudioHandler(kNodeTypeStereoPanner, node, sample_rate), 22 : AudioHandler(kNodeTypeStereoPanner, node, sample_rate),
23 pan_(pan), 23 pan_(pan),
24 sample_accurate_pan_values_(AudioUtilities::kRenderQuantumFrames) { 24 sample_accurate_pan_values_(AudioUtilities::kRenderQuantumFrames) {
25 AddInput(); 25 AddInput();
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 DEFINE_TRACE(StereoPannerNode) { 177 DEFINE_TRACE(StereoPannerNode) {
178 visitor->Trace(pan_); 178 visitor->Trace(pan_);
179 AudioNode::Trace(visitor); 179 AudioNode::Trace(visitor);
180 } 180 }
181 181
182 AudioParam* StereoPannerNode::pan() const { 182 AudioParam* StereoPannerNode::pan() const {
183 return pan_; 183 return pan_;
184 } 184 }
185 185
186 } // namespace blink 186 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698