Chromium Code Reviews

Unified Diff: chrome/browser/speech/speech_input_manager.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.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/speech/speech_input_manager.h
diff --git a/chrome/browser/speech/speech_input_manager.h b/chrome/browser/speech/speech_input_manager.h
index c22050698f408dc3f803eced88f32994008ad888..bb95030fba24fac8755b8a5ea37918ec2c597f13 100644
--- a/chrome/browser/speech/speech_input_manager.h
+++ b/chrome/browser/speech/speech_input_manager.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_SPEECH_SPEECH_INPUT_MANAGER_H_
#include "base/basictypes.h"
+#include "chrome/common/speech_input_result.h"
#include "gfx/rect.h"
#include "ipc/ipc_message.h"
@@ -21,7 +22,9 @@ class SpeechInputManager {
// Implemented by the dispatcher host to relay events to the render views.
class Delegate {
public:
- virtual void SetRecognitionResult(int caller_id, const string16& value) = 0;
+ virtual void SetRecognitionResult(
+ int caller_id,
+ const SpeechInputResultArray& result) = 0;
virtual void DidCompleteRecording(int caller_id) = 0;
virtual void DidCompleteRecognition(int caller_id) = 0;
« no previous file with comments | « chrome/browser/speech/speech_input_dispatcher_host.cc ('k') | chrome/browser/speech/speech_input_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine