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

Unified Diff: content/public/browser/speech_recognition_session_config.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: Nits + rebase 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/public/browser/speech_recognition_session_config.h
diff --git a/content/public/browser/speech_recognition_session_config.h b/content/public/browser/speech_recognition_session_config.h
index 8f443740bcdb6e4141699c96be3d3439241b40df..94663daf567f936eae3043b36c90f9f8cce5423b 100644
--- a/content/public/browser/speech_recognition_session_config.h
+++ b/content/public/browser/speech_recognition_session_config.h
@@ -30,6 +30,7 @@ struct CONTENT_EXPORT SpeechRecognitionSessionConfig {
SpeechRecognitionGrammarArray grammars;
std::string origin_url;
bool filter_profanities;
+ uint32 max_hypotheses;
SpeechRecognitionSessionContext initial_context;
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter;
SpeechRecognitionEventListener* event_listener;
« no previous file with comments | « content/common/speech_recognition_messages.h ('k') | content/public/browser/speech_recognition_session_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698