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

Unified Diff: chrome/renderer/speech_input_dispatcher.h

Issue 4119004: Add ability to parse multiple recognition results and send them to WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move header to chrome/common and address review comments. Created 10 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
« no previous file with comments | « chrome/common/speech_input_result.h ('k') | chrome/renderer/speech_input_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/speech_input_dispatcher.h
diff --git a/chrome/renderer/speech_input_dispatcher.h b/chrome/renderer/speech_input_dispatcher.h
index ec9333fdf45953c76c70a814765b03717e3c09cb..e7d298cff1f80b992f596638b11f83026d352704 100644
--- a/chrome/renderer/speech_input_dispatcher.h
+++ b/chrome/renderer/speech_input_dispatcher.h
@@ -6,6 +6,7 @@
#define CHROME_RENDERER_SPEECH_INPUT_DISPATCHER_H_
#include "base/basictypes.h"
+#include "chrome/common/speech_input_result.h"
#include "ipc/ipc_message.h"
#include "third_party/WebKit/WebKit/chromium/public/WebSpeechInputController.h"
@@ -41,7 +42,8 @@ class SpeechInputDispatcher : public WebKit::WebSpeechInputController {
void stopRecording(int request_id);
private:
- void OnSpeechRecognitionResult(int request_id, const string16& result);
+ void OnSpeechRecognitionResult(
+ int request_id, const speech_input::SpeechInputResultArray& result);
void OnSpeechRecordingComplete(int request_id);
void OnSpeechRecognitionComplete(int request_id);
« no previous file with comments | « chrome/common/speech_input_result.h ('k') | chrome/renderer/speech_input_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698