Chromium Code Reviews| 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..2a3581b5b79764012466d9fd107b20d72c566ef7 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; |
| @@ -67,17 +67,21 @@ class CONTENT_EXPORT SpeechInputManager : public SpeechRecognizerDelegate { |
| virtual void CancelAllRequestsWithDelegate(Delegate* delegate); |
| virtual void StopRecording(int caller_id); |
| - // SpeechRecognizer::Delegate methods. |
| + // SpeechRecognizerDelegate methods. |
| virtual void DidStartReceivingAudio(int caller_id); |
|
Satish
2011/10/06 09:09:06
OVERRIDE
Leandro GraciĆ” Gil
2011/10/06 18:26:25
Done.
|
| virtual void SetRecognitionResult(int caller_id, |
| bool error, |
| - const SpeechInputResultArray& result); |
| - virtual void DidCompleteRecording(int caller_id); |
| - virtual void DidCompleteRecognition(int caller_id); |
| + const SpeechInputResult& result) OVERRIDE; |
| + virtual void DidCompleteRecording(int caller_id) OVERRIDE; |
| + virtual void DidCompleteRecognition(int caller_id) OVERRIDE; |
| + virtual void DidStartReceivingSpeech(int caller_id) OVERRIDE; |
| + virtual void DidStopReceivingSpeech(int caller_id) OVERRIDE; |
| + |
| virtual void OnRecognizerError(int caller_id, |
| - SpeechRecognizer::ErrorCode error); |
| - virtual void DidCompleteEnvironmentEstimation(int caller_id); |
| - virtual void SetInputVolume(int caller_id, float volume, float noise_volume); |
| + SpeechInputError error) OVERRIDE; |
| + virtual void DidCompleteEnvironmentEstimation(int caller_id) OVERRIDE; |
| + virtual void SetInputVolume(int caller_id, float volume, |
| + float noise_volume) OVERRIDE; |
| protected: |
| // The pure virtual methods are used for displaying the current state of |
| @@ -113,7 +117,7 @@ class CONTENT_EXPORT SpeechInputManager : public SpeechRecognizerDelegate { |
| // Called when there has been a error with the recognition. |
| virtual void ShowRecognizerError(int caller_id, |
| - SpeechRecognizer::ErrorCode error) = 0; |
| + SpeechInputError error) = 0; |
| // Called when recognition has ended or has been canceled. |
| virtual void DoClose(int caller_id) = 0; |