![]() <https://webkit.org/b/228066> <rdar://problem/80577312> Patch by David Kilzer. Patch by Kate Cheney <katherine_cheney@apple.com> on 2021-07-29 Reviewed by David Kilzer. Source/WebCore: * platform/mac/PlatformSpeechSynthesizerMac.mm: (WebCore::speechSynthesisGetDefaultVoiceIdentifierForLocale): - Switch to use CopyIdentifierStringForPreferredVoiceInListWithLocale() in Monterey. - Change to return RetainPtr<> to handle lifetime of object returned from new function. (WebCore::PlatformSpeechSynthesizer::initializeVoiceList): - Change varible type to 'auto' since return type of speechSynthesisGetDefaultVoiceIdentifierForLocale() changed. Source/WebCore/PAL: * pal/spi/mac/SpeechSynthesisSPI.h: * pal/spi/mac/SpeechSynthesisSPI.h: (CopyIdentifierStringForPreferredVoiceInListWithLocale): Add. - Define replacement function for GetIdentifierStringForPreferredVoiceInListWithLocale() in Monterey. Source/WTF: * wtf/PlatformHave.h: - Add HAVE(SPEECHSYNTHESIS_MONTEREY_SPI). Canonical link: https://commits.webkit.org/240079@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280441 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
CoreUISPI.h | ||
DataDetectorsSPI.h | ||
HIServicesSPI.h | ||
HIToolboxSPI.h | ||
IOKitSPIMac.h | ||
LookupSPI.h | ||
MediaRemoteSPI.h | ||
NSAppearanceSPI.h | ||
NSApplicationSPI.h | ||
NSCellSPI.h | ||
NSColorWellSPI.h | ||
NSEventSPI.h | ||
NSFontSPI.h | ||
NSGraphicsSPI.h | ||
NSImageSPI.h | ||
NSImmediateActionGestureRecognizerSPI.h | ||
NSMenuSPI.h | ||
NSPasteboardSPI.h | ||
NSPopoverColorWellSPI.h | ||
NSPopoverSPI.h | ||
NSResponderSPI.h | ||
NSScrollViewSPI.h | ||
NSScrollerImpSPI.h | ||
NSScrollingInputFilterSPI.h | ||
NSScrollingMomentumCalculatorSPI.h | ||
NSSharingServicePickerSPI.h | ||
NSSharingServiceSPI.h | ||
NSSpellCheckerSPI.h | ||
NSTextFinderSPI.h | ||
NSTextInputContextSPI.h | ||
NSUndoManagerSPI.h | ||
NSViewSPI.h | ||
NSWindowSPI.h | ||
PIPSPI.h | ||
QuickLookMacSPI.h | ||
SpeechSynthesisSPI.h | ||
SystemPreviewSPI.h | ||
TelephonyUtilitiesSPI.h |