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

Unified Diff: content/browser/speech/speech_input_manager.h

Issue 8137005: Applying changes to the existing speech input code to support the extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing unit tests. Created 9 years, 2 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: content/browser/speech/speech_input_manager.h
diff --git a/content/browser/speech/speech_input_manager.h b/content/browser/speech/speech_input_manager.h
index c690780f924df4bf7c1faaff7a3587c4c8a7fc45..738aaffaa6e631f2f782b46aa62dd06b8a14479f 100644
--- a/content/browser/speech/speech_input_manager.h
+++ b/content/browser/speech/speech_input_manager.h
@@ -29,7 +29,7 @@ class CONTENT_EXPORT SpeechInputManager : public SpeechRecognizerDelegate {
public:
virtual void SetRecognitionResult(
int caller_id,
- const SpeechInputResultArray& result) = 0;
+ const SpeechInputResult& result) = 0;
virtual void DidCompleteRecording(int caller_id) = 0;
virtual void DidCompleteRecognition(int caller_id) = 0;
@@ -71,9 +71,13 @@ class CONTENT_EXPORT SpeechInputManager : public SpeechRecognizerDelegate {
virtual void DidStartReceivingAudio(int caller_id);
virtual void SetRecognitionResult(int caller_id,
bool error,
- const SpeechInputResultArray& result);
+ const SpeechInputResult& result);
virtual void DidCompleteRecording(int caller_id);
virtual void DidCompleteRecognition(int caller_id);
+ virtual void DidSpeechInputStart(int caller_id);
Satish 2011/10/04 20:36:33 please use the new OVERRIDE annotation for all ove
Leandro GraciĆ” Gil 2011/10/05 22:09:00 Done.
+ virtual void DidSpeechInputStop(int caller_id);
+ virtual void OnRecording(int caller_id);
+
virtual void OnRecognizerError(int caller_id,
SpeechRecognizer::ErrorCode error);
virtual void DidCompleteEnvironmentEstimation(int caller_id);

Powered by Google App Engine
This is Rietveld 408576698