Changeset 269208 in webkit
- Timestamp:
- Oct 30, 2020, 3:59:11 PM (6 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 added
- 7 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/PlatformHave.h (modified) (1 diff)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/PAL/ChangeLog (modified) (1 diff)
-
WebCore/PAL/PAL.xcodeproj/project.pbxproj (modified) (4 diffs)
-
WebCore/PAL/pal/PlatformMac.cmake (modified) (1 diff)
-
WebCore/PAL/pal/spi/cocoa/AXSpeechManagerSPI.h (added)
-
WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r269168 r269208 1 2020-10-30 Chris Fleizach <cfleizach@apple.com> 2 3 AX: Incorrect list of voices being displayed on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=218293 5 6 Reviewed by Per Arne Vollan. 7 8 * wtf/PlatformHave.h: 9 1 10 2020-10-29 Jiewen Tan <jiewen_tan@apple.com> 2 11 -
trunk/Source/WTF/wtf/PlatformHave.h
r269082 r269208 736 736 #endif 737 737 #endif 738 739 #if (PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140300 740 #if !defined(HAVE_AVSPEECHSYNTHESIS_SYSTEMVOICE) 741 #define HAVE_AVSPEECHSYNTHESIS_SYSTEMVOICE 1 742 #endif 743 #endif -
trunk/Source/WebCore/ChangeLog
r269206 r269208 1 2020-10-30 Chris Fleizach <cfleizach@apple.com> 2 3 AX: Incorrect list of voices being displayed on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=218293 5 6 Reviewed by Per Arne Vollan. 7 8 Limit the voices that we display in WebSpeech to only built-in system voices. This was the intention of the "compact" 9 decision, but some mobile assets have compact voices, which are not available WebContent. 10 11 * platform/ios/PlatformSpeechSynthesizerIOS.mm: 12 (WebCore::PlatformSpeechSynthesizer::initializeVoiceList): 13 1 14 2020-10-30 Keith Rollin <krollin@apple.com> 2 15 -
trunk/Source/WebCore/PAL/ChangeLog
r268420 r269208 1 2020-10-30 Chris Fleizach <cfleizach@apple.com> 2 3 AX: Incorrect list of voices being displayed on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=218293 5 6 Reviewed by Per Arne Vollan. 7 8 * PAL.xcodeproj/project.pbxproj: 9 * pal/PlatformMac.cmake: 10 * pal/spi/cocoa/AXSpeechManagerSPI.h: Added. 11 1 12 2020-10-13 Keith Rollin <krollin@apple.com> 2 13 -
trunk/Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj
r267870 r269208 116 116 293EE4A824154F8F0047493D /* AccessibilitySupportSoftLink.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 293EE4A624154F8F0047493D /* AccessibilitySupportSoftLink.cpp */; }; 117 117 293EE4A924154F8F0047493D /* AccessibilitySupportSoftLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 293EE4A724154F8F0047493D /* AccessibilitySupportSoftLink.h */; }; 118 29CDEBA62548D57F007C07B7 /* AXSpeechManagerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 29CDEB9E2548D055007C07B7 /* AXSpeechManagerSPI.h */; }; 118 119 2D02E93C2056FAA700A13797 /* AudioToolboxSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D02E93B2056FAA700A13797 /* AudioToolboxSPI.h */; }; 119 120 2E1342CC215AA10A007199D2 /* UIKitSoftLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E1342CA215AA10A007199D2 /* UIKitSoftLink.h */; }; … … 305 306 293EE4A624154F8F0047493D /* AccessibilitySupportSoftLink.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilitySupportSoftLink.cpp; sourceTree = "<group>"; }; 306 307 293EE4A724154F8F0047493D /* AccessibilitySupportSoftLink.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccessibilitySupportSoftLink.h; sourceTree = "<group>"; }; 308 29CDEB9E2548D055007C07B7 /* AXSpeechManagerSPI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AXSpeechManagerSPI.h; sourceTree = "<group>"; }; 307 309 2D02E93B2056FAA700A13797 /* AudioToolboxSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AudioToolboxSPI.h; sourceTree = "<group>"; }; 308 310 2E1342CA215AA10A007199D2 /* UIKitSoftLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIKitSoftLink.h; sourceTree = "<group>"; }; … … 455 457 0C7785701F45130F00F4EBB6 /* AVFoundationSPI.h */, 456 458 0C2DA1221F3BEB4900DBC317 /* AVKitSPI.h */, 459 29CDEB9E2548D055007C07B7 /* AXSpeechManagerSPI.h */, 457 460 0C2DA1231F3BEB4900DBC317 /* CFNSURLConnectionSPI.h */, 458 461 7A36D0F8223AD9AB00B0522E /* CommonCryptoSPI.h */, … … 899 902 07611DB6243FA5BF00D80704 /* UsageTrackingSoftLink.h in Headers */, 900 903 0C2DA1591F3BEB4900DBC317 /* WebFilterEvaluatorSPI.h in Headers */, 904 29CDEBA62548D57F007C07B7 /* AXSpeechManagerSPI.h in Headers */, 901 905 A10826F91F576292004772AC /* WebPanel.h in Headers */, 902 906 ); -
trunk/Source/WebCore/PAL/pal/PlatformMac.cmake
r267602 r269208 24 24 spi/cocoa/AVFoundationSPI.h 25 25 spi/cocoa/AVKitSPI.h 26 spi/cocoa/AXSpeechManagerSPI.h 26 27 spi/cocoa/AccessibilitySupportSPI.h 27 28 spi/cocoa/AccessibilitySupportSoftLink.h -
trunk/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm
r251960 r269208 31 31 #import "PlatformSpeechSynthesisVoice.h" 32 32 #import <AVFoundation/AVSpeechSynthesis.h> 33 #import <pal/spi/cocoa/AXSpeechManagerSPI.h> 33 34 #import <wtf/BlockObjCExceptions.h> 34 35 #import <wtf/RetainPtr.h> … … 266 267 267 268 // Only show built-in voices when requesting through WebKit to reduce fingerprinting surface area. 269 #if HAVE(AVSPEECHSYNTHESIS_SYSTEMVOICE) 270 if (voice.isSystemVoice) 271 #else 268 272 if (voice.quality == AVSpeechSynthesisVoiceQualityDefault) 273 #endif 269 274 m_voiceList.append(PlatformSpeechSynthesisVoice::create(voiceURI, name, language, true, isDefault)); 270 275 }
Note:
See TracChangeset
for help on using the changeset viewer.