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
Source/WebCore: Clean up the speech recognintion API
https://bugs.webkit.org/show_bug.cgi?id=112916 Reviewed by Adam Barth. This patch cleans away deprecated parts, fixes so that stop() can be called more than once and adds the missing emma attribute on SpeechRecognitionEvent (which is always null). Patch covered by existing tests. * Modules/speech/SpeechRecognition.cpp: (WebCore::SpeechRecognition::stopFunction): (WebCore::SpeechRecognition::abort): (WebCore::SpeechRecognition::didEnd): (WebCore::SpeechRecognition::SpeechRecognition): * Modules/speech/SpeechRecognition.h: (SpeechRecognition): * Modules/speech/SpeechRecognitionEvent.cpp: (WebCore::SpeechRecognitionEvent::createResult): (WebCore::SpeechRecognitionEvent::createNoMatch): (WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent): * Modules/speech/SpeechRecognitionEvent.h: (WebCore): (SpeechRecognitionEventInit): (SpeechRecognitionEvent): (WebCore::SpeechRecognitionEvent::emma): * Modules/speech/SpeechRecognitionEvent.idl: Source/WebKit/chromium: Clean up the speach recognintion API https://bugs.webkit.org/show_bug.cgi?id=112916 Reviewed by Adam Barth. * public/WebSpeechRecognizerClient.h: * src/SpeechRecognitionClientProxy.cpp: * src/SpeechRecognitionClientProxy.h: (SpeechRecognitionClientProxy): LayoutTests: Clean up the speech recognintion API https://bugs.webkit.org/show_bug.cgi?id=112916 Reviewed by Adam Barth. * fast/events/constructors/speech-recognition-event-constructor-expected.txt: * fast/events/constructors/speech-recognition-event-constructor.html: Canonical link: https://commits.webkit.org/131379@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@146601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Tommy Widenflycht
committed
Mar 22, 2013
1 parent
7aee452
commit 5c158a0
Showing
13 changed files
with
81 additions
and
76 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