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

Unified Diff: content/public/browser/speech_recognition_manager_delegate.h

Issue 9972008: Refactoring of chrome speech recognition architecture (CL1.6) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased from master. Created 8 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
« no previous file with comments | « content/public/browser/speech_recognition_manager.h ('k') | content/public/browser/speech_recognizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/public/browser/speech_recognition_manager.h ('k') | content/public/browser/speech_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698