#include "third_party/blink/renderer/modules/speech/speech_synthesis_utterance.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/speech/speech_synthesis.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
SpeechSynthesisUtterance* SpeechSynthesisUtterance::Create(
ExecutionContext* context) { … }
SpeechSynthesisUtterance* SpeechSynthesisUtterance::Create(
ExecutionContext* context,
const String& text) { … }
SpeechSynthesisUtterance::SpeechSynthesisUtterance(ExecutionContext* context,
const String& text)
: … { … }
SpeechSynthesisUtterance::~SpeechSynthesisUtterance() = default;
const AtomicString& SpeechSynthesisUtterance::InterfaceName() const { … }
SpeechSynthesisVoice* SpeechSynthesisUtterance::voice() const { … }
void SpeechSynthesisUtterance::setVoice(SpeechSynthesisVoice* voice) { … }
float SpeechSynthesisUtterance::volume() const { … }
float SpeechSynthesisUtterance::rate() const { … }
float SpeechSynthesisUtterance::pitch() const { … }
void SpeechSynthesisUtterance::Trace(Visitor* visitor) const { … }
void SpeechSynthesisUtterance::OnStartedSpeaking() { … }
void SpeechSynthesisUtterance::OnFinishedSpeaking(
mojom::blink::SpeechSynthesisErrorCode error_code) { … }
void SpeechSynthesisUtterance::OnPausedSpeaking() { … }
void SpeechSynthesisUtterance::OnResumedSpeaking() { … }
void SpeechSynthesisUtterance::OnEncounteredWordBoundary(uint32_t char_index,
uint32_t char_length) { … }
void SpeechSynthesisUtterance::OnEncounteredSentenceBoundary(
uint32_t char_index,
uint32_t char_length) { … }
void SpeechSynthesisUtterance::OnEncounteredSpeakingError() { … }
void SpeechSynthesisUtterance::Start(SpeechSynthesis* synthesis) { … }
void SpeechSynthesisUtterance::OnDisconnected() { … }
}