[webkit-changes] [WebKit/WebKit] 10522a: Further porting of enumerations to the new IPC ser...

Simon Lewis noreply at github.com
Mon Aug 28 18:26:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 10522a7a0bc7b1053f58227f38dc96cf45608812
      https://github.com/WebKit/WebKit/commit/10522a7a0bc7b1053f58227f38dc96cf45608812
  Author: Simon Lewis <simon.lewis at apple.com>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

  Changed paths:
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/Modules/mediasession/MediaSession.cpp
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/html/MediaElementSession.cpp
    M Source/WebCore/page/MediaProducer.h
    A Source/WebCore/page/MediaProducer.serialization.in
    M Source/WebCore/platform/PlatformEvent.h
    A Source/WebCore/platform/PlatformEvent.serialization.in
    M Source/WebCore/platform/audio/PlatformMediaSession.cpp
    M Source/WebCore/platform/audio/PlatformMediaSession.h
    A Source/WebCore/platform/audio/PlatformMediaSession.serialization.in
    M Source/WebCore/platform/audio/glib/MediaSessionGLib.cpp
    M Source/WebCore/platform/audio/glib/MediaSessionManagerGLib.cpp
    M Source/WebCore/platform/cocoa/RemoteCommandListenerCocoa.mm
    M Source/WebCore/platform/graphics/cocoa/MediaPlaybackTargetContext.h
    A Source/WebCore/platform/graphics/cocoa/MediaPlaybackTargetContext.serialization.in
    M Source/WebCore/platform/mediastream/MDNSRegisterError.h
    A Source/WebCore/platform/mediastream/MDNSRegisterError.serialization.in
    M Source/WebCore/testing/Internals.cpp
    M Source/WebKit/CMakeLists.txt
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/NetworkProcess/webrtc/NetworkMDNSRegister.h
    M Source/WebKit/WebProcess/Network/webrtc/LibWebRTCNetworkManager.cpp

  Log Message:
  -----------
  Further porting of enumerations to the new IPC serialization format.
https://bugs.webkit.org/show_bug.cgi?id=260746
rdar://114476515

Reviewed by Alex Christensen.

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/Modules/mediasession/MediaSession.cpp:
(WebCore::platformCommandForMediaSessionAction):
(WebCore::MediaSession::setActionHandler):
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::didReceiveRemoteControlCommand):
* Source/WebCore/html/MediaElementSession.cpp:
(WebCore::processRemoteControlCommandIfPlayingMediaStreams):
(WebCore::MediaElementSession::didReceiveRemoteControlCommand):
* Source/WebCore/page/MediaProducer.h:
* Source/WebCore/page/MediaProducer.serialization.in: Added.
* Source/WebCore/platform/PlatformEvent.h:
* Source/WebCore/platform/PlatformEvent.serialization.in: Added.
* Source/WebCore/platform/audio/PlatformMediaSession.cpp:
(WebCore::convertEnumerationToString):
* Source/WebCore/platform/audio/PlatformMediaSession.h:
* Source/WebCore/platform/audio/PlatformMediaSession.serialization.in: Added.
* Source/WebCore/platform/audio/glib/MediaSessionGLib.cpp:
(WebCore::getCommand):
(WebCore::handleMethodCall):
* Source/WebCore/platform/audio/glib/MediaSessionManagerGLib.cpp:
(WebCore::MediaSessionManagerGLib::dispatch):
* Source/WebCore/platform/cocoa/RemoteCommandListenerCocoa.mm:
(WebCore::mediaRemoteCommandForPlatformCommand):
(WebCore::RemoteCommandListenerCocoa::defaultCommands):
(WebCore::isSeekCommand):
(WebCore::RemoteCommandListenerCocoa::updateSupportedCommands):
(WebCore::RemoteCommandListenerCocoa::RemoteCommandListenerCocoa):
* Source/WebCore/platform/graphics/cocoa/MediaPlaybackTargetContext.h:
* Source/WebCore/platform/graphics/cocoa/MediaPlaybackTargetContext.serialization.in: Added.
* Source/WebCore/platform/mediastream/MDNSRegisterError.h:
* Source/WebCore/platform/mediastream/MDNSRegisterError.serialization.in: Added.
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::postRemoteControlCommand):
* Source/WebKit/CMakeLists.txt:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/NetworkProcess/webrtc/NetworkMDNSRegister.h:
* Source/WebKit/WebProcess/Network/webrtc/LibWebRTCNetworkManager.cpp:
(WebKit::LibWebRTCNetworkManager::CreateNameForAddress):

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




More information about the webkit-changes mailing list