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

Unified Diff: Source/modules/speech/SpeechRecognition.h

Issue 1034833002: Adding a serviceURI param to SpeechRecognition (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changing the serviceuri param to be KURL rather than string so we can check whether the url is vali… Created 5 years, 8 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: Source/modules/speech/SpeechRecognition.h
diff --git a/Source/modules/speech/SpeechRecognition.h b/Source/modules/speech/SpeechRecognition.h
index 81da6896aea952814b35924a5235abd2f1a765f4..07eb247996c634f2f1b093db42ee343ec85f045d 100644
--- a/Source/modules/speech/SpeechRecognition.h
+++ b/Source/modules/speech/SpeechRecognition.h
@@ -58,6 +58,8 @@ public:
void setGrammars(SpeechGrammarList* grammars) { m_grammars = grammars; }
String lang() { return m_lang; }
void setLang(const String& lang) { m_lang = lang; }
+ String serviceURI() { return m_serviceURI; }
+ void setServiceURI(const String& serviceURI) { m_serviceURI = serviceURI; }
bool continuous() { return m_continuous; }
void setContinuous(bool continuous) { m_continuous = continuous; }
bool interimResults() { return m_interimResults; }
@@ -116,6 +118,7 @@ private:
Member<SpeechGrammarList> m_grammars;
Member<MediaStreamTrack> m_audioTrack;
String m_lang;
+ String m_serviceURI;
bool m_continuous;
bool m_interimResults;
unsigned long m_maxAlternatives;
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/modules/speech/SpeechRecognition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698