Index: chrome/browser/speech/tts_platform.h |
diff --git a/chrome/browser/speech/tts_platform.h b/chrome/browser/speech/tts_platform.h |
index c6b570687c259cc41958c84c5c76ffa110b9775f..4b57fd49e46bf735b14ff4139446e22096cb9a83 100644 |
--- a/chrome/browser/speech/tts_platform.h |
+++ b/chrome/browser/speech/tts_platform.h |
@@ -49,6 +49,13 @@ class TtsPlatformImpl { |
// to |out_voices|. |
virtual void GetVoices(std::vector<VoiceData>* out_voices) = 0; |
+ // Pause the current utterance, if any, until a call to Resume, |
+ // Speak, or StopSpeaking. |
+ virtual void Pause() = 0; |
+ |
+ // Resume speaking the current utterance, if it was paused. |
+ virtual void Resume() = 0; |
+ |
virtual std::string error(); |
virtual void clear_error(); |
virtual void set_error(const std::string& error); |