| Index: content/public/browser/speech_recognition_manager_delegate.h
|
| diff --git a/content/public/browser/speech_recognition_manager_delegate.h b/content/public/browser/speech_recognition_manager_delegate.h
|
| index dc529476ca7965bf04500ffb980111d6040b8733..7156bc2c7092247b3e0a5f07aaa1b7e8c5add019 100644
|
| --- a/content/public/browser/speech_recognition_manager_delegate.h
|
| +++ b/content/public/browser/speech_recognition_manager_delegate.h
|
| @@ -38,34 +38,34 @@ class SpeechRecognitionManagerDelegate {
|
| // the view port for the given caller. The embedder should call the
|
| // StartRecognition or CancelRecognition methods on SpeechInutManager in
|
| // response.
|
| - virtual void ShowRecognitionRequested(int caller_id,
|
| + virtual void ShowRecognitionRequested(int session_id,
|
| int render_process_id,
|
| int render_view_id,
|
| const gfx::Rect& element_rect) = 0;
|
|
|
| // Called when recognition is starting up.
|
| - virtual void ShowWarmUp(int caller_id) = 0;
|
| + virtual void ShowWarmUp(int session_id) = 0;
|
|
|
| // Called when recognition has started.
|
| - virtual void ShowRecognizing(int caller_id) = 0;
|
| + virtual void ShowRecognizing(int session_id) = 0;
|
|
|
| // Called when recording has started.
|
| - virtual void ShowRecording(int caller_id) = 0;
|
| + virtual void ShowRecording(int session_id) = 0;
|
|
|
| // Continuously updated with the current input volume.
|
| - virtual void ShowInputVolume(int caller_id,
|
| + virtual void ShowInputVolume(int session_id,
|
| float volume,
|
| float noise_volume) = 0;
|
|
|
| // Called when no microphone has been found.
|
| - virtual void ShowMicError(int caller_id, MicError error) = 0;
|
| + virtual void ShowMicError(int session_id, MicError error) = 0;
|
|
|
| // Called when there has been a error with the recognition.
|
| - virtual void ShowRecognizerError(int caller_id,
|
| + virtual void ShowRecognizerError(int session_id,
|
| SpeechRecognitionErrorCode error) = 0;
|
|
|
| // Called when recognition has ended or has been canceled.
|
| - virtual void DoClose(int caller_id) = 0;
|
| + virtual void DoClose(int session_id) = 0;
|
| };
|
|
|
| } // namespace content
|
|
|