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

Unified Diff: content/browser/speech/speech_recognition_engine.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/browser/speech/speech_recognition_engine.h
diff --git a/content/browser/speech/speech_recognition_engine.h b/content/browser/speech/speech_recognition_engine.h
index 2203c5eff221955ca3a749ff1b87df546788f22e..11d901f96805fd0470b1ccc5f379d2fb02a06780 100644
--- a/content/browser/speech/speech_recognition_engine.h
+++ b/content/browser/speech/speech_recognition_engine.h
@@ -56,6 +56,7 @@ class SpeechRecognitionEngine {
std::string language;
content::SpeechRecognitionGrammarArray grammars;
bool filter_profanities;
+ int max_hypotheses;
hans 2012/06/21 12:38:56 this is actually unsigned in the spec and the java
Primiano Tucci (use gerrit) 2012/06/21 13:28:25 Done.
std::string hardware_info;
std::string origin_url;
int audio_sample_rate;

Powered by Google App Engine
This is Rietveld 408576698