Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cc67b1bc75f6f04aa1743fffb3f03757f8743e3e
      
https://github.com/WebKit/WebKit/commit/cc67b1bc75f6f04aa1743fffb3f03757f8743e3e
  Author: Fady Farag <[email protected]>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M Source/WebCore/Modules/speech/SpeechSynthesis.cpp
    M Source/WebCore/Modules/speech/SpeechSynthesis.h
    M Source/WebCore/html/HTMLMediaElement.cpp

  Log Message:
  -----------
  Use enum class in speech/SpeechSynthesis
https://bugs.webkit.org/show_bug.cgi?id=296412
rdar://problem/156552199

Reviewed by Ryosuke Niwa.

Using safer C++ constructs to avoid type confusion, and make it easier to pass 
over WebKit IPC.

* Source/WebCore/Modules/speech/SpeechSynthesis.cpp:
(WebCore::SpeechSynthesis::SpeechSynthesis):
(WebCore::m_speechSynthesisClient):
(WebCore::SpeechSynthesis::speak):
* Source/WebCore/Modules/speech/SpeechSynthesis.h:
(WebCore::SpeechSynthesis::userGestureRequiredForSpeechStart const):
(WebCore::SpeechSynthesis::removeBehaviorRestriction):
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::speechSynthesis):

Canonical link: https://commits.webkit.org/297827@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to