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

Unified Diff: content/common/speech_recognition_messages.h

Issue 10629003: Adding support for the SpeechRecognition.maxAlternatives JS API parameter (Speech CL2.5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small nits Created 8 years, 6 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
Index: content/common/speech_recognition_messages.h
diff --git a/content/common/speech_recognition_messages.h b/content/common/speech_recognition_messages.h
index d004b0a2286c598e5befddc1eba0eb66fc0dbea1..1c2e617b1420d77369da5ba6990e8c197bb665d5 100644
--- a/content/common/speech_recognition_messages.h
+++ b/content/common/speech_recognition_messages.h
@@ -117,6 +117,8 @@ IPC_STRUCT_BEGIN(SpeechRecognitionHostMsg_StartRequest_Params)
IPC_STRUCT_MEMBER(std::string, origin_url)
// One-shot/continuous recognition mode.
IPC_STRUCT_MEMBER(bool, is_one_shot)
+ // Maximum number of hypotheses allowed for each results.
+ IPC_STRUCT_MEMBER(int, max_hypotheses)
hans 2012/06/21 12:38:56 again, may want to make this unsigned
Primiano Tucci (use gerrit) 2012/06/21 13:28:25 Done.
IPC_STRUCT_END()

Powered by Google App Engine
This is Rietveld 408576698