#include "third_party/blink/renderer/bindings/modules/v8/v8_base_audio_context.h"
#include "third_party/blink/public/mojom/origin_trial_feature/origin_trial_feature.mojom-shared.h"
#include "third_party/blink/renderer/bindings/core/v8/generated_code_helper.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_event_handler_non_null.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_event_target.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_set_return_value_for_core.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_analyser_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_audio_buffer.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_audio_buffer_source_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_audio_context_state.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_audio_destination_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_audio_listener.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_audio_worklet.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_biquad_filter_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_channel_merger_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_channel_splitter_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_constant_source_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_convolver_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_decode_error_callback.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_decode_success_callback.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_delay_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_dynamics_compressor_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_gain_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_iir_filter_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_oscillator_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_panner_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_periodic_wave.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_periodic_wave_constraints.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_script_processor_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_stereo_panner_node.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_wave_shaper_node.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/dactyloscoper.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/modules/webaudio/analyser_node.h"
#include "third_party/blink/renderer/modules/webaudio/audio_buffer.h"
#include "third_party/blink/renderer/modules/webaudio/audio_buffer_source_node.h"
#include "third_party/blink/renderer/modules/webaudio/audio_destination_node.h"
#include "third_party/blink/renderer/modules/webaudio/audio_listener.h"
#include "third_party/blink/renderer/modules/webaudio/audio_worklet.h"
#include "third_party/blink/renderer/modules/webaudio/base_audio_context.h"
#include "third_party/blink/renderer/modules/webaudio/biquad_filter_node.h"
#include "third_party/blink/renderer/modules/webaudio/channel_merger_node.h"
#include "third_party/blink/renderer/modules/webaudio/channel_splitter_node.h"
#include "third_party/blink/renderer/modules/webaudio/constant_source_node.h"
#include "third_party/blink/renderer/modules/webaudio/convolver_node.h"
#include "third_party/blink/renderer/modules/webaudio/delay_node.h"
#include "third_party/blink/renderer/modules/webaudio/dynamics_compressor_node.h"
#include "third_party/blink/renderer/modules/webaudio/gain_node.h"
#include "third_party/blink/renderer/modules/webaudio/iir_filter_node.h"
#include "third_party/blink/renderer/modules/webaudio/oscillator_node.h"
#include "third_party/blink/renderer/modules/webaudio/panner_node.h"
#include "third_party/blink/renderer/modules/webaudio/periodic_wave.h"
#include "third_party/blink/renderer/modules/webaudio/script_processor_node.h"
#include "third_party/blink/renderer/modules/webaudio/stereo_panner_node.h"
#include "third_party/blink/renderer/modules/webaudio/wave_shaper_node.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/idl_member_installer.h"
#include "third_party/blink/renderer/platform/bindings/runtime_call_stats.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/bindings/wrapper_type_info.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
namespace blink {
bool V8BaseAudioContext::IsExposed(ExecutionContext* execution_context) { … }
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wglobal-constructors"
#endif
const WrapperTypeInfo V8BaseAudioContext::wrapper_type_info_{ … };
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic pop
#endif
const WrapperTypeInfo& BaseAudioContext::wrapper_type_info_ = …;
static_assert …;
namespace {
namespace v8_base_audio_context {
void DestinationAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SampleRateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CurrentTimeAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ListenerAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void StateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AudioWorkletAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnstatechangeAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnstatechangeAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateAnalyserOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateBiquadFilterOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateBufferOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateBufferSourceOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateChannelMergerOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateChannelSplitterOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateConstantSourceOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateConvolverOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateDelayOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateDynamicsCompressorOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateGainOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateIIRFilterOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateOscillatorOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreatePannerOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreatePeriodicWaveOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateScriptProcessorOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateStereoPannerOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateWaveShaperOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void DecodeAudioDataOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
}
usingnamespacev8_base_audio_context;
}
void V8BaseAudioContext::InstallInterfaceTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> interface_template) { … }
void V8BaseAudioContext::InstallUnconditionalProperties(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> instance_template, v8::Local<v8::Template> prototype_template, v8::Local<v8::Template> interface_template) { … }
void V8BaseAudioContext::InstallContextDependentProperties(v8::Local<v8::Context> context, const DOMWrapperWorld& world, v8::Local<v8::Object> instance_object, v8::Local<v8::Object> prototype_object, v8::Local<v8::Object> interface_object, v8::Local<v8::Template> interface_template, FeatureSelector feature_selector) { … }
}