Index: chrome/browser/speech/speech_input_dispatcher_host.h |
diff --git a/chrome/browser/speech/speech_input_dispatcher_host.h b/chrome/browser/speech/speech_input_dispatcher_host.h |
index 51ae04ce92edd03ed39730909504c99e97ad1eeb..d8befd331e88ee1a05ae82355582e3db32bbeed9 100644 |
--- a/chrome/browser/speech/speech_input_dispatcher_host.h |
+++ b/chrome/browser/speech/speech_input_dispatcher_host.h |
@@ -9,6 +9,8 @@ |
#include "chrome/browser/browser_message_filter.h" |
#include "chrome/browser/speech/speech_input_manager.h" |
+struct SpeechInputHostMsg_StartRecognition_Params; |
+ |
namespace speech_input { |
// SpeechInputDispatcherHost is a delegate for Speech API messages used by |
@@ -39,10 +41,8 @@ class SpeechInputDispatcherHost : public BrowserMessageFilter, |
private: |
virtual ~SpeechInputDispatcherHost(); |
- void OnStartRecognition(int render_view_id, int request_id, |
- const gfx::Rect& element_rect, |
- const std::string& language, |
- const std::string& grammar); |
+ void OnStartRecognition( |
+ const SpeechInputHostMsg_StartRecognition_Params ¶ms); |
void OnCancelRecognition(int render_view_id, int request_id); |
void OnStopRecording(int render_view_id, int request_id); |