summaryrefslogtreecommitdiff
path: root/chromium/content/public/browser/tts_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/public/browser/tts_controller.h')
-rw-r--r--chromium/content/public/browser/tts_controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/content/public/browser/tts_controller.h b/chromium/content/public/browser/tts_controller.h
index ced4805ea76..66f4b443d4b 100644
--- a/chromium/content/public/browser/tts_controller.h
+++ b/chromium/content/public/browser/tts_controller.h
@@ -147,6 +147,10 @@ class CONTENT_EXPORT TtsController {
// embedder.
virtual TtsEngineDelegate* GetTtsEngineDelegate() = 0;
+ // Sets whether speech should stop if the WebContents the utterance
+ // originated from is hidden. The default is false.
+ virtual void SetStopSpeakingWhenHidden(bool value) = 0;
+
// Visible for testing.
virtual void SetTtsPlatform(TtsPlatform* tts_platform) = 0;
virtual int QueueSize() = 0;