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

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

Issue 15012027: Android implementation of text-to-speech code for Web Speech Synthesis API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tts_multivoice
Patch Set: Fix clang error 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_controller.cc ('k') | chrome/browser/speech/tts_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/tts_message_filter.h
diff --git a/chrome/browser/speech/tts_message_filter.h b/chrome/browser/speech/tts_message_filter.h
index cbcbfc6a0b4aa3c95c2b9a5a864afbb85e09e87d..767a9c0776d55d0a7f19010e33b67e3e05e79f52 100644
--- a/chrome/browser/speech/tts_message_filter.h
+++ b/chrome/browser/speech/tts_message_filter.h
@@ -13,7 +13,8 @@ class Profile;
class TtsMessageFilter
: public content::BrowserMessageFilter,
- public UtteranceEventDelegate {
+ public UtteranceEventDelegate,
+ public VoicesChangedDelegate {
public:
TtsMessageFilter(int render_process_id, Profile* profile);
@@ -23,6 +24,7 @@ class TtsMessageFilter
content::BrowserThread::ID* thread) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok) OVERRIDE;
+ virtual void OnChannelClosing() OVERRIDE;
// UtteranceEventDelegate implementation.
virtual void OnTtsEvent(Utterance* utterance,
@@ -30,6 +32,9 @@ class TtsMessageFilter
int char_index,
const std::string& error_message) OVERRIDE;
+ // VoicesChangedDelegate implementation.
+ virtual void OnVoicesChanged() OVERRIDE;
+
private:
virtual ~TtsMessageFilter();
« no previous file with comments | « chrome/browser/speech/tts_controller.cc ('k') | chrome/browser/speech/tts_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698