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

Unified Diff: chrome/browser/speech/tts_controller.h

Issue 434083003: Remove the dependency of Extension API from tts_chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the nits Created 6 years, 5 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_chromeos.cc ('k') | chrome/browser/speech/tts_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/tts_controller.h
diff --git a/chrome/browser/speech/tts_controller.h b/chrome/browser/speech/tts_controller.h
index 658c9f58cd0574838607dc059075a11a970d4fa7..aaaea711951326a8aac78f2077980d4c1f7eada7 100644
--- a/chrome/browser/speech/tts_controller.h
+++ b/chrome/browser/speech/tts_controller.h
@@ -98,6 +98,9 @@ class TtsEngineDelegate {
// Resume speaking this utterance.
virtual void Resume(Utterance* utterance) = 0;
+
+ // Load the built-in component extension for ChromeOS.
+ virtual bool LoadBuiltInTtsExtension(Profile* profile) = 0;
};
// Class that wants to receive events on utterances.
@@ -325,6 +328,10 @@ class TtsController {
// extensions.
virtual void SetTtsEngineDelegate(TtsEngineDelegate* delegate) = 0;
+ // Get the delegate that processes TTS requests with user-installed
+ // extensions.
+ virtual TtsEngineDelegate* GetTtsEngineDelegate() = 0;
+
// For unit testing.
virtual void SetPlatformImpl(TtsPlatformImpl* platform_impl) = 0;
virtual int QueueSize() = 0;
« no previous file with comments | « chrome/browser/speech/tts_chromeos.cc ('k') | chrome/browser/speech/tts_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698