#include "third_party/blink/renderer/modules/mediasession/chapter_information.h"
#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_chapter_information_init.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_metadata_init.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/mediasession/media_session.h"
#include "third_party/blink/renderer/modules/mediasession/media_session_utils.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
namespace blink {
ChapterInformation* ChapterInformation::From(
ScriptState* script_state,
const ChapterInformationInit* chapter,
ExceptionState& exception_state) { … }
ChapterInformation* ChapterInformation::Create(
ScriptState* script_state,
const String& title,
const double& start_time,
const HeapVector<Member<MediaImage>>& artwork,
ExceptionState& exception_state) { … }
ChapterInformation::ChapterInformation(
ScriptState* script_state,
const String& title,
const double& start_time,
const HeapVector<Member<MediaImage>>& artwork,
ExceptionState& exception_state)
: … { … }
String ChapterInformation::title() const { … }
double ChapterInformation::startTime() const { … }
const HeapVector<Member<MediaImage>>& ChapterInformation::artwork() const { … }
v8::LocalVector<v8::Value> ChapterInformation::artwork(
ScriptState* script_state) const { … }
void ChapterInformation::Trace(Visitor* visitor) const { … }
void ChapterInformation::SetArtworkInternal(
ScriptState* script_state,
const HeapVector<Member<MediaImage>>& artwork,
ExceptionState& exception_state) { … }
}