Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1544)

Unified Diff: chrome/browser/speech/tts_android.cc

Issue 15108002: Add Pause and Resume to Web TTS & Extension TTS APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/speech/tts_android.h ('k') | chrome/browser/speech/tts_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/tts_android.cc
diff --git a/chrome/browser/speech/tts_android.cc b/chrome/browser/speech/tts_android.cc
index 8c7105cc8bf3c76c4549ef96254a0f49d71fd6c5..36e6e222619d148b40bc5b31f6171208cb926b60 100644
--- a/chrome/browser/speech/tts_android.cc
+++ b/chrome/browser/speech/tts_android.cc
@@ -69,6 +69,13 @@ bool TtsPlatformImplAndroid::StopSpeaking() {
return true;
}
+void TtsPlatformImplAndroid::Pause() {
+ StopSpeaking();
+}
+
+void TtsPlatformImplAndroid::Resume() {
+}
+
bool TtsPlatformImplAndroid::IsSpeaking() {
return (utterance_id_ != 0);
}
« no previous file with comments | « chrome/browser/speech/tts_android.h ('k') | chrome/browser/speech/tts_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698