diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-01 18:10:13 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-01 18:10:13 +0000 |
commit | c0cd97078bcc108053e1a5906e72478511ded3ec (patch) | |
tree | d470d69eb2e05ce6ae80532046d8b6107ce0e232 /content/common | |
parent | 5b819ee7638bfc85f6b7700dcb6977b6fcf4bee7 (diff) | |
download | chromium_src-c0cd97078bcc108053e1a5906e72478511ded3ec.zip chromium_src-c0cd97078bcc108053e1a5906e72478511ded3ec.tar.gz chromium_src-c0cd97078bcc108053e1a5906e72478511ded3ec.tar.bz2 |
Update the Speech Api to support array(s) of result items
instead of a single item at a time.
BUG=143124
TEST=Covered by content_unittests
Review URL: https://chromiumcodereview.appspot.com/11421103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/speech_recognition_messages.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/common/speech_recognition_messages.h b/content/common/speech_recognition_messages.h index 593f877..f68a48d 100644 --- a/content/common/speech_recognition_messages.h +++ b/content/common/speech_recognition_messages.h @@ -79,9 +79,9 @@ IPC_MESSAGE_CONTROL2(InputTagSpeechHostMsg_StopRecording, // Browser -> Renderer messages. // Relays a speech recognition result, either partial or final. -IPC_MESSAGE_ROUTED2(InputTagSpeechMsg_SetRecognitionResult, +IPC_MESSAGE_ROUTED2(InputTagSpeechMsg_SetRecognitionResults, int /* request_id */, - content::SpeechRecognitionResult /* result */) + content::SpeechRecognitionResults /* results */) // Indicates that speech recognizer has stopped recording and started // recognition. @@ -149,7 +149,7 @@ IPC_MESSAGE_CONTROL2(SpeechRecognitionHostMsg_StopCaptureRequest, // events defined in content/public/browser/speech_recognition_event_listener.h. IPC_MESSAGE_ROUTED2(SpeechRecognitionMsg_ResultRetrieved, int /* request_id */, - content::SpeechRecognitionResult /* result */) + content::SpeechRecognitionResults /* results */) IPC_MESSAGE_ROUTED2(SpeechRecognitionMsg_ErrorOccurred, int /* request_id */, |