Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Speech JavaScript API: add SpeechRecognition.maxAlternatives attribute
https://bugs.webkit.org/show_bug.cgi?id=89459 Reviewed by Eric Seidel. Source/WebCore: Add the SpeechRecognition.maxAlternatives attribute. Test: fast/speech/scripted/basics.html: * Modules/speech/SpeechRecognition.cpp: (WebCore::SpeechRecognition::start): (WebCore::SpeechRecognition::SpeechRecognition): * Modules/speech/SpeechRecognition.h: (WebCore::SpeechRecognition::maxAlternatives): (WebCore::SpeechRecognition::setMaxAlternatives): (SpeechRecognition): * Modules/speech/SpeechRecognition.idl: * Modules/speech/SpeechRecognitionClient.h: (SpeechRecognitionClient): * Modules/speech/SpeechRecognitionController.h: (WebCore::SpeechRecognitionController::start): (SpeechRecognitionController): Source/WebKit/chromium: Plumbing for the maxAlternatives attribute. * public/WebSpeechRecognitionParams.h: (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams): (WebKit::WebSpeechRecognitionParams::maxAlternatives): (WebSpeechRecognitionParams): * src/SpeechRecognitionClientProxy.cpp: (WebKit::SpeechRecognitionClientProxy::start): * src/SpeechRecognitionClientProxy.h: (SpeechRecognitionClientProxy): LayoutTests: Update the basic test to check for presence of the maxAlternatives attribute. * fast/speech/scripted/basics-expected.txt: * fast/speech/scripted/basics.html: Canonical link: https://commits.webkit.org/107419@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
13 changed files
with
86 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters