#include "third_party/blink/renderer/bindings/modules/v8/v8_source_buffer.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_audio_track_list.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/core/v8/v8_time_ranges.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_video_track_list.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_append_mode.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_encoded_audio_chunk.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_encoded_video_chunk.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_source_buffer_config.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_track_default_list.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_union_encodedaudiochunk_encodedaudiochunkorencodedvideochunksequence_encodedvideochunk.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_union_encodedaudiochunk_encodedvideochunk.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/html/time_ranges.h"
#include "third_party/blink/renderer/core/html/track/audio_track_list.h"
#include "third_party/blink/renderer/core/html/track/video_track_list.h"
#include "third_party/blink/renderer/modules/mediasource/source_buffer.h"
#include "third_party/blink/renderer/modules/mediasource/track_default_list.h"
#include "third_party/blink/renderer/modules/webcodecs/encoded_audio_chunk.h"
#include "third_party/blink/renderer/modules/webcodecs/encoded_video_chunk.h"
#include "third_party/blink/renderer/platform/bindings/cooperative_scheduling_helpers.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 V8SourceBuffer::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 V8SourceBuffer::wrapper_type_info_{ … };
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic pop
#endif
const WrapperTypeInfo& SourceBuffer::wrapper_type_info_ = …;
static_assert …;
namespace {
namespace v8_source_buffer {
void ModeAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ModeAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void UpdatingAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void BufferedAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void TimestampOffsetAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void TimestampOffsetAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AudioTracksAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void VideoTracksAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AppendWindowStartAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AppendWindowStartAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AppendWindowEndAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AppendWindowEndAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnupdatestartAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnupdatestartAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnupdateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnupdateAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnupdateendAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnupdateendAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnerrorAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnerrorAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnabortAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnabortAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void TrackDefaultsAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void TrackDefaultsAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AbortOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AppendBufferOperationOverload1(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AppendBufferOperationOverload2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AppendBufferOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AppendEncodedChunksOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ChangeTypeOperationOverload1(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ChangeTypeOperationOverload2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ChangeTypeOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void RemoveOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
}
usingnamespacev8_source_buffer;
}
void V8SourceBuffer::InstallInterfaceTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> interface_template) { … }
void V8SourceBuffer::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 V8SourceBuffer::InstallContextIndependentProperties(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 V8SourceBuffer::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) { … }
}