|
| 1 | +2022-03-10 Chris Fleizach <cfleizach@apple.com> |
| 2 | + |
| 3 | + AX: Support updated WebSpeech API |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=237614 |
| 5 | + <rdar://problem/89981851> |
| 6 | + |
| 7 | + Reviewed by Andres Gonzalez. |
| 8 | + |
| 9 | + Adopt WebSpeech (18 August 2020) changes from |
| 10 | + https://wicg.github.io/speech-api/ |
| 11 | + |
| 12 | + Tests Fixed: |
| 13 | + imported/w3c/web-platform-tests/speech-api/ |
| 14 | + |
| 15 | + * DerivedSources-input.xcfilelist: |
| 16 | + * DerivedSources-output.xcfilelist: |
| 17 | + * DerivedSources.make: |
| 18 | + * Modules/speech/DOMWindow+SpeechSynthesis.idl: |
| 19 | + * Modules/speech/DOMWindowSpeechSynthesis.cpp: |
| 20 | + (WebCore::DOMWindowSpeechSynthesis::speechSynthesis): |
| 21 | + * Modules/speech/SpeechSynthesis.cpp: |
| 22 | + (WebCore::Ref<SpeechSynthesis>SpeechSynthesis::create): |
| 23 | + (WebCore::SpeechSynthesis::SpeechSynthesis): |
| 24 | + (WebCore::SpeechSynthesis::voicesDidChange): |
| 25 | + (WebCore::SpeechSynthesis::fireEvent const): |
| 26 | + (WebCore::SpeechSynthesis::fireErrorEvent const): |
| 27 | + (WebCore::SpeechSynthesis::handleSpeakingCompleted): |
| 28 | + (WebCore::SpeechSynthesis::boundaryEventOccurred): |
| 29 | + (WebCore::SpeechSynthesis::didStartSpeaking): |
| 30 | + (WebCore::SpeechSynthesis::didPauseSpeaking): |
| 31 | + (WebCore::SpeechSynthesis::didResumeSpeaking): |
| 32 | + (WebCore::SpeechSynthesis::create): Deleted. |
| 33 | + (WebCore::SpeechSynthesis::fireEvent): Deleted. |
| 34 | + * Modules/speech/SpeechSynthesis.h: |
| 35 | + * Modules/speech/SpeechSynthesis.idl: |
| 36 | + * Modules/speech/SpeechSynthesisErrorCode.h: Added. |
| 37 | + * Modules/speech/SpeechSynthesisErrorCode.idl: Copied from Source/WebCore/Modules/speech/DOMWindow+SpeechSynthesis.idl. |
| 38 | + * Modules/speech/SpeechSynthesisErrorEvent.cpp: Copied from Source/WebCore/Modules/speech/SpeechSynthesisEvent.cpp. |
| 39 | + (WebCore::SpeechSynthesisErrorEvent::create): |
| 40 | + (WebCore::SpeechSynthesisErrorEvent::SpeechSynthesisErrorEvent): |
| 41 | + * Modules/speech/SpeechSynthesisErrorEvent.h: Copied from Source/WebCore/Modules/speech/SpeechSynthesisEvent.h. |
| 42 | + * Modules/speech/SpeechSynthesisErrorEvent.idl: Copied from Source/WebCore/Modules/speech/SpeechSynthesisEvent.idl. |
| 43 | + * Modules/speech/SpeechSynthesisErrorEventInit.h: Copied from Source/WebCore/Modules/speech/DOMWindow+SpeechSynthesis.idl. |
| 44 | + * Modules/speech/SpeechSynthesisErrorEventInit.idl: Copied from Source/WebCore/Modules/speech/DOMWindow+SpeechSynthesis.idl. |
| 45 | + * Modules/speech/SpeechSynthesisEvent.cpp: |
| 46 | + (WebCore::SpeechSynthesisEvent::create): |
| 47 | + (WebCore::SpeechSynthesisEvent::SpeechSynthesisEvent): |
| 48 | + * Modules/speech/SpeechSynthesisEvent.h: |
| 49 | + (WebCore::SpeechSynthesisEvent::utterance const): |
| 50 | + (WebCore::SpeechSynthesisEvent::charLength const): |
| 51 | + (): Deleted. |
| 52 | + * Modules/speech/SpeechSynthesisEvent.idl: |
| 53 | + * Modules/speech/SpeechSynthesisEventInit.h: Copied from Source/WebCore/Modules/speech/SpeechSynthesisEvent.h. |
| 54 | + (WebCore::SpeechSynthesisEventInit::SpeechSynthesisEventInit): |
| 55 | + * Modules/speech/SpeechSynthesisEventInit.idl: Copied from Source/WebCore/Modules/speech/DOMWindow+SpeechSynthesis.idl. |
| 56 | + * Modules/speech/SpeechSynthesisUtterance.cpp: |
| 57 | + (WebCore::SpeechSynthesisUtterance::SpeechSynthesisUtterance): |
| 58 | + * Modules/speech/SpeechSynthesisUtterance.h: |
| 59 | + * Modules/speech/SpeechSynthesisVoice.idl: |
| 60 | + * Sources.txt: |
| 61 | + * WebCore.xcodeproj/project.pbxproj: |
| 62 | + * dom/EventNames.h: |
| 63 | + * dom/EventNames.in: |
| 64 | + * dom/EventTargetFactory.in: |
| 65 | + * page/SpeechSynthesisClient.h: |
| 66 | + * platform/PlatformSpeechSynthesizer.h: |
| 67 | + * platform/cocoa/PlatformSpeechSynthesizerCocoa.mm: |
| 68 | + (-[WebSpeechSynthesisWrapper speechSynthesizer:willSpeakRangeOfSpeechString:utterance:]): |
| 69 | + (WebCore::PlatformSpeechSynthesizer::initializeVoiceList): |
| 70 | + * platform/mock/PlatformSpeechSynthesizerMock.cpp: |
| 71 | + (WebCore::PlatformSpeechSynthesizerMock::speak): |
| 72 | + |
1 | 73 | 2022-05-06 Lauro Moura <lmoura@igalia.com> |
2 | 74 |
|
3 | 75 | [GLIB] Add Speech synthesis stubs |
|
0 commit comments