haikuwebkit/Source/WebCore/platform/graphics/avfoundation
Youenn Fablet 000e136d67 Rename MediaPlayer::setVisible to MediaPlayer::setPageIsVisible
https://bugs.webkit.org/show_bug.cgi?id=228837
<rdar://problem/81857023>

Reviewed by Eric Carlson.

Source/WebCore:

No change of behavior, just renaming a method to make its name more accurate.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::visibilityStateChanged):
* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::loadWithNextMediaEngine):
(WebCore::MediaPlayer::setPageIsVisible):
(WebCore::MediaPlayer::setVisible): Deleted.
* platform/graphics/MediaPlayer.h:
* platform/graphics/MediaPlayerPrivate.h:
(WebCore::MediaPlayerPrivateInterface::setVisibleForCanvas):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::setPageIsVisible):
(WebCore::MediaPlayerPrivateAVFoundation::setVisible): Deleted.
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::setPageIsVisible):
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::setVisible): Deleted.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setPageIsVisible):
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setVisible): Deleted.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
* platform/graphics/holepunch/MediaPlayerPrivateHolePunch.h:
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
(WebCore::MediaPlayerPrivateMediaFoundation::setPageIsVisible):
(WebCore::MediaPlayerPrivateMediaFoundation::setVisible): Deleted.
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.h:
* platform/mock/mediasource/MockMediaPlayerMediaSource.cpp:
(WebCore::MockMediaPlayerMediaSource::setPageIsVisible):
(WebCore::MockMediaPlayerMediaSource::setVisible): Deleted.
* platform/mock/mediasource/MockMediaPlayerMediaSource.h:
* rendering/RenderVideo.cpp:
(WebCore::RenderVideo::willBeDestroyed):
(WebCore::RenderVideo::updatePlayer):

Source/WebKit:

* GPUProcess/media/RemoteMediaPlayerProxy.cpp:
(WebKit::RemoteMediaPlayerProxy::setPageIsVisible):
(WebKit::RemoteMediaPlayerProxy::setVisible): Deleted.
* GPUProcess/media/RemoteMediaPlayerProxy.h:
* GPUProcess/media/RemoteMediaPlayerProxy.messages.in:
* WebProcess/GPU/media/MediaPlayerPrivateRemote.cpp:
(WebKit::MediaPlayerPrivateRemote::setPageIsVisible):
(WebKit::MediaPlayerPrivateRemote::setVisible): Deleted.
* WebProcess/GPU/media/MediaPlayerPrivateRemote.h:

Source/WebKitLegacy/win:

* FullscreenVideoController.cpp:
(FullscreenVideoController::exitFullscreen):


Canonical link: https://commits.webkit.org/240664@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 08:40:05 +00:00
..
cf [Cocoa|GPU] platformLayer() not always added to remotedly hosted context; black video while playing 2021-08-09 15:15:19 +00:00
objc Rename MediaPlayer::setVisible to MediaPlayer::setPageIsVisible 2021-08-19 08:40:05 +00:00
AVTrackPrivateAVFObjCImpl.h
AVTrackPrivateAVFObjCImpl.mm
AudioSourceProviderAVFObjC.h
AudioSourceProviderAVFObjC.mm Not all uses of AudioToolbox framework use soft linking 2021-06-28 12:29:37 +00:00
AudioTrackPrivateAVF.h
CDMFairPlayStreaming.cpp
CDMFairPlayStreaming.h
CDMPrivateMediaSourceAVFObjC.h
CDMPrivateMediaSourceAVFObjC.mm
ISOFairPlayStreamingPsshBox.cpp
ISOFairPlayStreamingPsshBox.h
InbandMetadataTextTrackPrivateAVF.cpp
InbandMetadataTextTrackPrivateAVF.h
InbandTextTrackPrivateAVF.cpp
InbandTextTrackPrivateAVF.h
MediaPlaybackTargetCocoa.h
MediaPlaybackTargetCocoa.mm
MediaPlayerPrivateAVFoundation.cpp Rename MediaPlayer::setVisible to MediaPlayer::setPageIsVisible 2021-08-19 08:40:05 +00:00
MediaPlayerPrivateAVFoundation.h Rename MediaPlayer::setVisible to MediaPlayer::setPageIsVisible 2021-08-19 08:40:05 +00:00
MediaSelectionGroupAVFObjC.h
MediaSelectionGroupAVFObjC.mm
SampleBufferDisplayLayer.cpp
SampleBufferDisplayLayer.h WebKit::SampleBufferDisplayLayer needs to handle GPUProcess crash 2021-08-06 19:04:17 +00:00
VideoTrackPrivateAVF.h
WebMediaSessionManagerMac.cpp
WebMediaSessionManagerMac.h