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

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

Issue 2103043007: Rename AbstractAudioContext to BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ASSERT(isGraphOwner()) instead of DCHECK Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/AudioParam.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParam.h b/third_party/WebKit/Source/modules/webaudio/AudioParam.h
index ebdc00bd821e15d89080d12a2d4fe258da842f96..1afd6b33e57133e6dc8376d519b3ebd442571a85 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioParam.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioParam.h
@@ -31,9 +31,9 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTypedArray.h"
-#include "modules/webaudio/AbstractAudioContext.h"
#include "modules/webaudio/AudioParamTimeline.h"
#include "modules/webaudio/AudioSummingJunction.h"
+#include "modules/webaudio/BaseAudioContext.h"
#include "wtf/PassRefPtr.h"
#include "wtf/ThreadSafeRefCounted.h"
#include "wtf/text/WTFString.h"
@@ -100,7 +100,7 @@ public:
static const double SnapThreshold;
static PassRefPtr<AudioParamHandler> create(
- AbstractAudioContext& context,
+ BaseAudioContext& context,
AudioParamType paramType,
double defaultValue,
float minValue,
@@ -157,7 +157,7 @@ public:
void updateHistograms(float newValue);
private:
- AudioParamHandler(AbstractAudioContext&, AudioParamType, double defaultValue, float min, float max);
+ AudioParamHandler(BaseAudioContext&, AudioParamType, double defaultValue, float min, float max);
void warnIfOutsideRange(float value, float minValue, float maxValue);
@@ -191,14 +191,14 @@ private:
class AudioParam final : public GarbageCollectedFinalized<AudioParam>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static AudioParam* create(AbstractAudioContext&, AudioParamType, double defaultValue);
- static AudioParam* create(AbstractAudioContext&, AudioParamType, double defaultValue, float minValue, float maxValue);
+ static AudioParam* create(BaseAudioContext&, AudioParamType, double defaultValue);
+ static AudioParam* create(BaseAudioContext&, AudioParamType, double defaultValue, float minValue, float maxValue);
DECLARE_TRACE();
// |handler| always returns a valid object.
AudioParamHandler& handler() const { return *m_handler; }
// |context| always returns a valid object.
- AbstractAudioContext* context() const { return m_context; }
+ BaseAudioContext* context() const { return m_context; }
AudioParamType getParamType() const { return handler().getParamType(); }
void setParamType(AudioParamType);
@@ -219,12 +219,12 @@ public:
AudioParam* cancelScheduledValues(double startTime, ExceptionState&);
private:
- AudioParam(AbstractAudioContext&, AudioParamType, double defaultValue, float min, float max);
+ AudioParam(BaseAudioContext&, AudioParamType, double defaultValue, float min, float max);
void warnIfOutsideRange(const String& paramMethd, float value);
RefPtr<AudioParamHandler> m_handler;
- Member<AbstractAudioContext> m_context;
+ Member<BaseAudioContext> m_context;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698