summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-12-10 16:19:40 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-12-10 16:01:50 +0000
commit51f6c2793adab2d864b3d2b360000ef8db1d3e92 (patch)
tree835b3b4446b012c75e80177cef9fbe6972cc7dbe /chromium/third_party/blink/renderer/modules/speech/speech_synthesis.h
parent6036726eb981b6c4b42047513b9d3f4ac865daac (diff)
downloadqtwebengine-chromium-51f6c2793adab2d864b3d2b360000ef8db1d3e92.tar.gz
BASELINE: Update Chromium to 71.0.3578.93
Change-Id: I6a32086c33670e1b033f8b10e6bf1fd4da1d105d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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;