summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h')
-rw-r--r--chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h b/chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h
index 4b87c237429..850407dad5a 100644
--- a/chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h
+++ b/chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h
@@ -89,9 +89,13 @@ class MODULES_EXPORT SpeechSynthesis final
void HandleSpeakingCompleted(SpeechSynthesisUtterance*, bool error_occurred);
void FireEvent(const AtomicString& type,
SpeechSynthesisUtterance*,
- unsigned long char_index,
+ uint32_t char_index,
const String& name);
+ void FireErrorEvent(SpeechSynthesisUtterance*,
+ unsigned long char_index,
+ const String& error);
+
// Returns the utterance at the front of the queue.
SpeechSynthesisUtterance* CurrentSpeechUtterance() const;