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

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: Turned max_hypotheses to unsigned int 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..8efe737fe4d17b450eae892bad931a6cbd4e9b72 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(uint32, max_hypotheses)
IPC_STRUCT_END()

Powered by Google App Engine
This is Rietveld 408576698