haikuwebkit/Source/WebCore/Modules/speech
Darin Adler e98ff129bc Remove WTF::Optional synonym for std::optional, using that class template directly instead
https://bugs.webkit.org/show_bug.cgi?id=226433

Reviewed by Chris Dumez.

Source/JavaScriptCore:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.

* inspector/scripts/codegen/generate_objc_protocol_types_implementation.py:
(ObjCProtocolTypesImplementationGenerator._generate_init_method_for_payload): Use auto instead
of Optional<>. Also use * instead of value() and nest the definition of the local inside an if
statement in the case where it's an optional.

* inspector/scripts/tests/expected/*: Regenerated these results.

Source/WebCore:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.

Source/WebCore/PAL:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.

Source/WebDriver:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.

Source/WebKit:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.

* Scripts/webkit/tests: Regenerated expected results, by running the command "python
Scripts/webkit/messages_unittest.py -r". (How am I supposed to know to do that?)

Source/WebKitLegacy/ios:

* WebCoreSupport/WebChromeClientIOS.h: Let the do-webcore-rename script rename
Optional<> to std::optional<>.

Source/WebKitLegacy/mac:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.

Source/WebKitLegacy/win:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.

Source/WTF:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.

* wtf/Optional.h: Remove WTF::Optional.

Tools:

* <many files>: Let the do-webcore-rename script rename Optional<> to std::optional<>.


Canonical link: https://commits.webkit.org/238290@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-30 16:11:40 +00:00
..
cocoa
DOMWindow+SpeechSynthesis.idl
DOMWindowSpeechSynthesis.cpp SpeechSynthesis should honor audioPlaybackRequiresUserGesture setting on iOS. 2021-03-18 22:52:48 +00:00
DOMWindowSpeechSynthesis.h
SpeechRecognition.cpp
SpeechRecognition.h
SpeechRecognition.idl [WebIDL] Remove the need to specify [MayThrowException] 2021-03-23 00:49:01 +00:00
SpeechRecognitionAlternative.cpp
SpeechRecognitionAlternative.h
SpeechRecognitionAlternative.idl
SpeechRecognitionCaptureSource.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SpeechRecognitionCaptureSource.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SpeechRecognitionCaptureSourceImpl.cpp [iOS] ASSERTION FAILED: !isMainThread() in WebCore::SpeechRecognitionCaptureSourceImpl::audioSamplesAvailable 2021-05-25 23:17:31 +00:00
SpeechRecognitionCaptureSourceImpl.h [iOS] ASSERTION FAILED: !isMainThread() in WebCore::SpeechRecognitionCaptureSourceImpl::audioSamplesAvailable 2021-05-25 23:17:31 +00:00
SpeechRecognitionConnection.h
SpeechRecognitionConnectionClient.h
SpeechRecognitionConnectionClientIdentifier.h
SpeechRecognitionError.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SpeechRecognitionErrorCode.h
SpeechRecognitionErrorCode.idl
SpeechRecognitionErrorEvent.cpp
SpeechRecognitionErrorEvent.h
SpeechRecognitionErrorEvent.idl
SpeechRecognitionEvent.cpp
SpeechRecognitionEvent.h
SpeechRecognitionEvent.idl
SpeechRecognitionRequest.cpp
SpeechRecognitionRequest.h
SpeechRecognitionRequestInfo.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SpeechRecognitionResult.cpp
SpeechRecognitionResult.h
SpeechRecognitionResult.idl
SpeechRecognitionResultData.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SpeechRecognitionResultList.cpp
SpeechRecognitionResultList.h
SpeechRecognitionResultList.idl
SpeechRecognitionUpdate.cpp
SpeechRecognitionUpdate.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SpeechRecognizer.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SpeechRecognizer.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
SpeechSynthesis.cpp SpeechSynthesis should honor audioPlaybackRequiresUserGesture setting on iOS. 2021-03-18 22:52:48 +00:00
SpeechSynthesis.h SpeechSynthesis should honor audioPlaybackRequiresUserGesture setting on iOS. 2021-03-18 22:52:48 +00:00
SpeechSynthesis.idl
SpeechSynthesisEvent.cpp
SpeechSynthesisEvent.h
SpeechSynthesisEvent.idl
SpeechSynthesisUtterance.cpp
SpeechSynthesisUtterance.h
SpeechSynthesisUtterance.idl
SpeechSynthesisVoice.cpp
SpeechSynthesisVoice.h
SpeechSynthesisVoice.idl