| Index: public/web/WebSpeechRecognizer.h
|
| diff --git a/public/web/WebSpeechRecognizer.h b/public/web/WebSpeechRecognizer.h
|
| index 91ec0579a2ab5e0d445150c1b232340e5c16fe61..1f79fdd942223f85f2b97f329ede2b2afbbc01dd 100644
|
| --- a/public/web/WebSpeechRecognizer.h
|
| +++ b/public/web/WebSpeechRecognizer.h
|
| @@ -31,6 +31,7 @@
|
|
|
| namespace blink {
|
|
|
| +class WebMediaStreamTrack;
|
| class WebSpeechGrammar;
|
| class WebSpeechRecognitionParams;
|
| class WebSpeechRecognizerClient;
|
| @@ -41,6 +42,9 @@ public:
|
| // Start speech recognition for the specified handle using the specified parameters. Notifications on progress, results, and errors will be sent via the client.
|
| virtual void start(const WebSpeechRecognitionHandle&, const WebSpeechRecognitionParams&, WebSpeechRecognizerClient*) { BLINK_ASSERT_NOT_REACHED(); }
|
|
|
| + // Start as above with the addition of using a WebMediaStreamTrack as the audio track.
|
| + virtual void start(const WebSpeechRecognitionHandle&, const WebSpeechRecognitionParams&, const WebMediaStreamTrack& audioTrack, WebSpeechRecognizerClient*) { BLINK_ASSERT_NOT_REACHED(); }
|
| +
|
| // Stop speech recognition for the specified handle, returning any results for the audio recorded so far. Notifications and errors are sent via the client.
|
| virtual void stop(const WebSpeechRecognitionHandle&, WebSpeechRecognizerClient*) { BLINK_ASSERT_NOT_REACHED(); }
|
|
|
|
|