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

Unified Diff: chrome/browser/speech/extension_api/tts_engine_extension_api.h

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Fix android build Created 7 years, 8 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
Index: chrome/browser/speech/extension_api/tts_engine_extension_api.h
diff --git a/chrome/browser/speech/extension_api/tts_engine_extension_api.h b/chrome/browser/speech/extension_api/tts_engine_extension_api.h
index ea62a4975832ea9407213cb5258707a56d30c7b6..80bb1229dbdf89fa72ff540c5d449dae81d52b34 100644
--- a/chrome/browser/speech/extension_api/tts_engine_extension_api.h
+++ b/chrome/browser/speech/extension_api/tts_engine_extension_api.h
@@ -5,8 +5,11 @@
#ifndef CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_
#define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_
+#include <vector>
+
#include "base/memory/singleton.h"
#include "chrome/browser/extensions/extension_function.h"
+#include "chrome/browser/speech/tts_controller.h"
class Utterance;
@@ -24,7 +27,7 @@ extern const char kOnStop[];
}
// Return a list of all available voices registered by extensions.
-void GetExtensionVoices(Profile* profile, base::ListValue* result_voices);
+void GetExtensionVoices(Profile* profile, std::vector<VoiceData>* out_voices);
// Find the first extension with a tts_voices in its
// manifest that matches the speech parameters of this utterance.
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/speech/extension_api/tts_engine_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698