[webkit-changes] [WebKit/WebKit] 3611be: [Media] Rename VideoFullscreenManager and friends ...

aestes noreply at github.com
Wed Oct 4 09:43:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3611be9d6e54e0767daf5778c655028bb1ac64d2
      https://github.com/WebKit/WebKit/commit/3611be9d6e54e0767daf5778c655028bb1ac64d2
  Author: Andy Estes <aestes at apple.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M Source/WebCore/SourcesCocoa.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/html/HTMLVideoElement.cpp
    R Source/WebCore/platform/cocoa/VideoFullscreenModel.h
    R Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.h
    R Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.mm
    A Source/WebCore/platform/cocoa/VideoPresentationModel.h
    A Source/WebCore/platform/cocoa/VideoPresentationModelVideoElement.h
    A Source/WebCore/platform/cocoa/VideoPresentationModelVideoElement.mm
    M Source/WebCore/platform/cocoa/WebAVPlayerLayer.h
    M Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm
    M Source/WebCore/platform/cocoa/WebAVPlayerLayerView.mm
    M Source/WebCore/platform/graphics/cocoa/NullVideoFullscreenInterface.h
    M Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.h
    M Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm
    M Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm
    M Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.h
    M Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.mm
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources-output.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/SourcesCocoa.txt
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
    M Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.h
    R Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.h
    R Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in
    R Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm
    A Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.h
    A Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.messages.in
    A Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.mm
    M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm
    M Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeContext.mm
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/cocoa/PlaybackSessionManager.h
    M Source/WebKit/WebProcess/cocoa/TextTrackRepresentationCocoa.h
    M Source/WebKit/WebProcess/cocoa/TextTrackRepresentationCocoa.mm
    R Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.h
    R Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.messages.in
    R Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm
    A Source/WebKit/WebProcess/cocoa/VideoPresentationManager.h
    A Source/WebKit/WebProcess/cocoa/VideoPresentationManager.messages.in
    A Source/WebKit/WebProcess/cocoa/VideoPresentationManager.mm

  Log Message:
  -----------
  [Media] Rename VideoFullscreenManager and friends to VideoPresentationManager*
https://bugs.webkit.org/show_bug.cgi?id=262603
rdar://116443401

Reviewed by Simon Fraser.

To better reflect their use for more than just fullscreen video, renamed the following:
- VideoFullscreenInterfaceContext -> VideoPresentationInterfaceContext
- VideoFullscreenModel -> VideoPresentationModel
- VideoFullscreenModelClient -> VideoPresentationModelClient
- VideoFullscreenModelContext -> VideoPresentationModelContext
- VideoFullscreenModelVideoElement -> VideoPresentationModelVideoElement
- VideoFullscreenManager -> VideoPresentationManager
- VideoFullscreenManagerProxy -> VideoPresentationManagerProxy

* Source/WebCore/SourcesCocoa.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/html/HTMLMediaElement.cpp:
* Source/WebCore/html/HTMLVideoElement.cpp:
* Source/WebCore/platform/cocoa/VideoPresentationModel.h: Renamed from Source/WebCore/platform/cocoa/VideoFullscreenModel.h.
* Source/WebCore/platform/cocoa/VideoPresentationModelVideoElement.h: Renamed from Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.h.
* Source/WebCore/platform/cocoa/VideoPresentationModelVideoElement.mm: Renamed from Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.mm.
(WebCore::VideoPresentationModelVideoElement::VideoListener::VideoListener):
(WebCore::VideoPresentationModelVideoElement::VideoListener::handleEvent):
(WebCore::VideoPresentationModelVideoElement::VideoPresentationModelVideoElement):
(WebCore::VideoPresentationModelVideoElement::~VideoPresentationModelVideoElement):
(WebCore::VideoPresentationModelVideoElement::cleanVideoListeners):
(WebCore::VideoPresentationModelVideoElement::setVideoElement):
(WebCore::VideoPresentationModelVideoElement::updateForEventName):
(WebCore::VideoPresentationModelVideoElement::willExitFullscreen):
(WebCore::VideoPresentationModelVideoElement::createVideoFullscreenLayer):
(WebCore::VideoPresentationModelVideoElement::setVideoFullscreenLayer):
(WebCore::VideoPresentationModelVideoElement::waitForPreparedForInlineThen):
(WebCore::VideoPresentationModelVideoElement::requestFullscreenMode):
(WebCore::VideoPresentationModelVideoElement::setVideoLayerFrame):
(WebCore::VideoPresentationModelVideoElement::setVideoSizeFenced):
(WebCore::VideoPresentationModelVideoElement::setVideoLayerGravity):
(WebCore::VideoPresentationModelVideoElement::observedEventNames):
(WebCore::VideoPresentationModelVideoElement::eventNameAll):
(WebCore::VideoPresentationModelVideoElement::fullscreenModeChanged):
(WebCore::VideoPresentationModelVideoElement::requestRouteSharingPolicyAndContextUID):
(WebCore::VideoPresentationModelVideoElement::addClient):
(WebCore::VideoPresentationModelVideoElement::removeClient):
(WebCore::VideoPresentationModelVideoElement::setHasVideo):
(WebCore::VideoPresentationModelVideoElement::setVideoDimensions):
(WebCore::VideoPresentationModelVideoElement::setPlayerIdentifier):
(WebCore::VideoPresentationModelVideoElement::willEnterPictureInPicture):
(WebCore::VideoPresentationModelVideoElement::didEnterPictureInPicture):
(WebCore::VideoPresentationModelVideoElement::failedToEnterPictureInPicture):
(WebCore::VideoPresentationModelVideoElement::willExitPictureInPicture):
(WebCore::VideoPresentationModelVideoElement::didExitPictureInPicture):
(WebCore::VideoPresentationModelVideoElement::loggerPtr const):
(WebCore::VideoPresentationModelVideoElement::logIdentifier const):
(WebCore::VideoPresentationModelVideoElement::nextChildIdentifier const):
(WebCore::VideoPresentationModelVideoElement::logChannel const):
* Source/WebCore/platform/cocoa/WebAVPlayerLayer.h:
* Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm:
(WebCore::WebAVPlayerLayerPresentationModelClient::WebAVPlayerLayerPresentationModelClient):
(-[WebAVPlayerLayer init]):
(-[WebAVPlayerLayer dealloc]):
(-[WebAVPlayerLayer presentationModel]):
(-[WebAVPlayerLayer setPresentationModel:]):
(-[WebAVPlayerLayer resolveBounds]):
(-[WebAVPlayerLayer setVideoGravity:]):
(-[WebAVPlayerLayer loggerPtr]):
(WebCore::WebAVPlayerLayerFullscreenModelClient::WebAVPlayerLayerFullscreenModelClient): Deleted.
(WebCore::WebAVPlayerLayerFullscreenModelClient::videoDimensionsChanged): Deleted.
(-[WebAVPlayerLayer fullscreenModel]): Deleted.
(-[WebAVPlayerLayer setFullscreenModel:]): Deleted.
* Source/WebCore/platform/cocoa/WebAVPlayerLayerView.mm:
(WebCore::WebAVPlayerLayerView_startRoutingVideoToPictureInPicturePlayerLayerView):
* Source/WebCore/platform/graphics/cocoa/NullVideoFullscreenInterface.h:
* Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.h:
* Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm:
(VideoFullscreenInterfaceAVKit::~VideoFullscreenInterfaceAVKit):
(VideoFullscreenInterfaceAVKit::setVideoPresentationModel):
(VideoFullscreenInterfaceAVKit::presentingViewController):
(VideoFullscreenInterfaceAVKit::exitFullscreen):
(VideoFullscreenInterfaceAVKit::cleanupFullscreen):
(VideoFullscreenInterfaceAVKit::invalidate):
(VideoFullscreenInterfaceAVKit::requestHideAndExitFullscreen):
(VideoFullscreenInterfaceAVKit::preparedToExitFullscreen):
(VideoFullscreenInterfaceAVKit::prepareForPictureInPictureStop):
(VideoFullscreenInterfaceAVKit::willStartPictureInPicture):
(VideoFullscreenInterfaceAVKit::failedToStartPictureInPicture):
(VideoFullscreenInterfaceAVKit::willStopPictureInPicture):
(VideoFullscreenInterfaceAVKit::didStopPictureInPicture):
(VideoFullscreenInterfaceAVKit::shouldExitFullscreenWithReason):
(VideoFullscreenInterfaceAVKit::doSetup):
(VideoFullscreenInterfaceAVKit::finalizeSetup):
(VideoFullscreenInterfaceAVKit::doEnterFullscreen):
(VideoFullscreenInterfaceAVKit::doExitFullscreen):
(VideoFullscreenInterfaceAVKit::returnToStandby):
(VideoFullscreenInterfaceAVKit::setMode):
(VideoFullscreenInterfaceAVKit::clearMode):
(VideoFullscreenInterfaceAVKit::setVideoFullscreenModel): Deleted.
* Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm:
(VideoFullscreenControllerContext::~VideoFullscreenControllerContext):
(VideoFullscreenControllerContext::requestVideoContentLayer):
(VideoFullscreenControllerContext::returnVideoContentLayer):
(VideoFullscreenControllerContext::didSetupFullscreen):
(VideoFullscreenControllerContext::willExitFullscreen):
(VideoFullscreenControllerContext::didExitFullscreen):
(VideoFullscreenControllerContext::didCleanupFullscreen):
(VideoFullscreenControllerContext::hasVideoChanged):
(VideoFullscreenControllerContext::videoDimensionsChanged):
(VideoFullscreenControllerContext::addClient):
(VideoFullscreenControllerContext::removeClient):
(VideoFullscreenControllerContext::requestFullscreenMode):
(VideoFullscreenControllerContext::setVideoLayerFrame):
(VideoFullscreenControllerContext::setVideoLayerGravity):
(VideoFullscreenControllerContext::fullscreenModeChanged):
(VideoFullscreenControllerContext::hasVideo const):
(VideoFullscreenControllerContext::willEnterPictureInPicture):
(VideoFullscreenControllerContext::didEnterPictureInPicture):
(VideoFullscreenControllerContext::failedToEnterPictureInPicture):
(VideoFullscreenControllerContext::willExitPictureInPicture):
(VideoFullscreenControllerContext::didExitPictureInPicture):
(VideoFullscreenControllerContext::videoDimensions const):
(VideoFullscreenControllerContext::setUpFullscreen):
* Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.h:
(WebCore::VideoFullscreenInterfaceMac::videoPresentationModel const):
(WebCore::VideoFullscreenInterfaceMac::videoFullscreenModel const): Deleted.
* Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.mm:
(-[WebVideoFullscreenInterfaceMacObjC setUpPIPForVideoView:withFrame:inWindow:]):
(-[WebVideoFullscreenInterfaceMacObjC boundsDidChangeForVideoViewContainer:]):
(-[WebVideoFullscreenInterfaceMacObjC pipShouldClose:]):
(-[WebVideoFullscreenInterfaceMacObjC pipDidClose:]):
(WebCore::VideoFullscreenInterfaceMac::~VideoFullscreenInterfaceMac):
(WebCore::VideoFullscreenInterfaceMac::setVideoPresentationModel):
(WebCore::VideoFullscreenInterfaceMac::setMode):
(WebCore::VideoFullscreenInterfaceMac::clearMode):
(WebCore::VideoFullscreenInterfaceMac::setupFullscreen):
(WebCore::VideoFullscreenInterfaceMac::enterFullscreen):
(WebCore::VideoFullscreenInterfaceMac::exitFullscreenWithoutAnimationToMode):
(WebCore::VideoFullscreenInterfaceMac::cleanupFullscreen):
(WebCore::VideoFullscreenInterfaceMac::invalidate):
(WebCore::VideoFullscreenInterfaceMac::requestHideAndExitPiP):
(WebCore::VideoFullscreenInterfaceMac::setVideoFullscreenModel): Deleted.
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources-output.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/SourcesCocoa.txt:
* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView closeAllMediaPresentationsWithCompletionHandler:]):
(-[WKWebView _allMediaPresentationsClosed]):
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _isShowingVideoPictureInPicture]):
(-[WKWebView _mayAutomaticallyShowVideoPictureInPicture]):
* Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.h:
(WebKit::PlaybackSessionManagerProxy::logClassName const):
* Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.h: Renamed from Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.h.
* Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.messages.in: Renamed from Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in.
* Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.mm: Renamed from Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm.
(WebKit::VideoPresentationManagerProxy::create):
(WebKit::VideoPresentationManagerProxy::invalidate):
(WebKit::VideoPresentationManagerProxy::hasMode const):
(WebKit::VideoPresentationManagerProxy::mayAutomaticallyShowVideoPictureInPicture const):
(WebKit::VideoPresentationManagerProxy::requestHideAndExitFullscreen):
(WebKit::VideoPresentationManagerProxy::applicationDidBecomeActive):
(WebKit::VideoPresentationModelContext::VideoPresentationModelContext):
(WebKit::VideoPresentationModelContext::addClient):
(WebKit::VideoPresentationModelContext::removeClient):
(WebKit::VideoPresentationModelContext::setPlayerLayer):
(WebKit::VideoPresentationModelContext::setVideoDimensions):
(WebKit::VideoPresentationModelContext::requestCloseAllMediaPresentations):
(WebKit::VideoPresentationModelContext::requestFullscreenMode):
(WebKit::VideoPresentationModelContext::setVideoLayerFrame):
(WebKit::VideoPresentationModelContext::setVideoLayerGravity):
(WebKit::VideoPresentationModelContext::fullscreenModeChanged):
(WebKit::VideoPresentationModelContext::presentingViewController):
(WebKit::VideoPresentationModelContext::createVideoFullscreenViewController):
(WebKit::VideoPresentationModelContext::requestUpdateInlineRect):
(WebKit::VideoPresentationModelContext::requestVideoContentLayer):
(WebKit::VideoPresentationModelContext::returnVideoContentLayer):
(WebKit::VideoPresentationModelContext::returnVideoView):
(WebKit::VideoPresentationModelContext::didSetupFullscreen):
(WebKit::VideoPresentationModelContext::failedToEnterFullscreen):
(WebKit::VideoPresentationModelContext::didEnterFullscreen):
(WebKit::VideoPresentationModelContext::willExitFullscreen):
(WebKit::VideoPresentationModelContext::didExitFullscreen):
(WebKit::VideoPresentationModelContext::didCleanupFullscreen):
(WebKit::VideoPresentationModelContext::fullscreenMayReturnToInline):
(WebKit::VideoPresentationModelContext::requestRouteSharingPolicyAndContextUID):
(WebKit::VideoPresentationModelContext::didEnterPictureInPicture):
(WebKit::VideoPresentationModelContext::didExitPictureInPicture):
(WebKit::VideoPresentationModelContext::willEnterPictureInPicture):
(WebKit::VideoPresentationModelContext::failedToEnterPictureInPicture):
(WebKit::VideoPresentationModelContext::willExitPictureInPicture):
(WebKit::VideoPresentationModelContext::logIdentifier const):
(WebKit::VideoPresentationModelContext::nextChildIdentifier const):
(WebKit::VideoPresentationModelContext::loggerPtr const):
(WebKit::VideoPresentationModelContext::logChannel const):
(WebKit::VideoPresentationManagerProxy::VideoPresentationManagerProxy):
(WebKit::VideoPresentationManagerProxy::~VideoPresentationManagerProxy):
(WebKit::VideoPresentationManagerProxy::isPlayingVideoInEnhancedFullscreen const):
(WebKit::VideoPresentationManagerProxy::controlsManagerInterface):
(WebKit::VideoPresentationManagerProxy::requestRouteSharingPolicyAndContextUID):
(WebKit::VideoPresentationManagerProxy::createModelAndInterface):
(WebKit::VideoPresentationManagerProxy::ensureModelAndInterface):
(WebKit::VideoPresentationManagerProxy::ensureModel):
(WebKit::VideoPresentationManagerProxy::ensureInterface):
(WebKit::VideoPresentationManagerProxy::findInterface const):
(WebKit::VideoPresentationManagerProxy::ensureClientForContext):
(WebKit::VideoPresentationManagerProxy::addClientForContext):
(WebKit::VideoPresentationManagerProxy::removeClientForContext):
(WebKit::VideoPresentationManagerProxy::forEachSession):
(WebKit::VideoPresentationManagerProxy::requestBitmapImageForCurrentTime):
(WebKit::VideoPresentationManagerProxy::addVideoInPictureInPictureDidChangeObserver):
(WebKit::VideoPresentationManagerProxy::hasVideoInPictureInPictureDidChange):
(WebKit::VideoPresentationManagerProxy::createLayerWithID):
(WebKit::VideoPresentationManagerProxy::createLayerHostViewWithID):
(WebKit::VideoPresentationManagerProxy::createViewWithID):
(WebKit::VideoPresentationManagerProxy::willRemoveLayerForID):
(WebKit::VideoPresentationManagerProxy::setupFullscreenWithID):
(WebKit::VideoPresentationManagerProxy::setPlayerIdentifier):
(WebKit::VideoPresentationManagerProxy::setHasVideo):
(WebKit::VideoPresentationManagerProxy::setVideoDimensions):
(WebKit::VideoPresentationManagerProxy::enterFullscreen):
(WebKit::VideoPresentationManagerProxy::exitFullscreen):
(WebKit::VideoPresentationManagerProxy::exitFullscreenWithoutAnimationToMode):
(WebKit::VideoPresentationManagerProxy::setInlineRect):
(WebKit::VideoPresentationManagerProxy::setHasVideoContentLayer):
(WebKit::VideoPresentationManagerProxy::cleanupFullscreen):
(WebKit::VideoPresentationManagerProxy::preparedToReturnToInline):
(WebKit::VideoPresentationManagerProxy::preparedToExitFullscreen):
(WebKit::VideoPresentationManagerProxy::textTrackRepresentationUpdate):
(WebKit::VideoPresentationManagerProxy::textTrackRepresentationSetContentsScale):
(WebKit::VideoPresentationManagerProxy::textTrackRepresentationSetHidden):
(WebKit::VideoPresentationManagerProxy::callCloseCompletionHandlers):
(WebKit::VideoPresentationManagerProxy::requestCloseAllMediaPresentations):
(WebKit::VideoPresentationManagerProxy::requestFullscreenMode):
(WebKit::VideoPresentationManagerProxy::requestUpdateInlineRect):
(WebKit::VideoPresentationManagerProxy::requestVideoContentLayer):
(WebKit::VideoPresentationManagerProxy::returnVideoContentLayer):
(WebKit::VideoPresentationManagerProxy::returnVideoView):
(WebKit::VideoPresentationManagerProxy::didSetupFullscreen):
(WebKit::VideoPresentationManagerProxy::willExitFullscreen):
(WebKit::VideoPresentationManagerProxy::didExitFullscreen):
(WebKit::VideoPresentationManagerProxy::didEnterFullscreen):
(WebKit::VideoPresentationManagerProxy::failedToEnterFullscreen):
(WebKit::VideoPresentationManagerProxy::didCleanupFullscreen):
(WebKit::VideoPresentationManagerProxy::setVideoLayerFrame):
(WebKit::VideoPresentationManagerProxy::setVideoLayerGravity):
(WebKit::VideoPresentationManagerProxy::fullscreenModeChanged):
(WebKit::VideoPresentationManagerProxy::fullscreenMayReturnToInline):
(WebKit::VideoPresentationManagerProxy::playerViewController const):
(WebKit::VideoPresentationManagerProxy::logger const):
(WebKit::VideoPresentationManagerProxy::logIdentifier const):
(WebKit::VideoPresentationManagerProxy::logClassName const):
(WebKit::VideoPresentationManagerProxy::logChannel const):
* Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm:
(WebKit::WebPageProxy::updateFullscreenVideoTextRecognition):
(WebKit::WebPageProxy::fullscreenVideoTextRecognitionTimerFired):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:
(WebKit::RemoteLayerTreeHost::layerWillBeRemoved):
(WebKit::RemoteLayerTreeHost::makeNode):
* Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm:
(WebKit::RemoteLayerTreeHost::makeNode):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didAttachToRunningProcess):
(WebKit::WebPageProxy::viewDidLeaveWindow):
(WebKit::WebPageProxy::exitFullscreenImmediately):
(WebKit::WebPageProxy::videoPresentationManager):
(WebKit::WebPageProxy::setMockVideoPresentationModeEnabled):
(WebKit::WebPageProxy::resetState):
(WebKit::WebPageProxy::isPlayingVideoInEnhancedFullscreen const):
(WebKit::WebPageProxy::videoFullscreenManager): Deleted.
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::applicationDidBecomeActive):
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm:
(-[WKFullScreenViewController videoControlsManagerDidChange]):
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(-[WKFullScreenWindowController beganEnterFullScreenWithInitialFrame:finalFrame:]):
(-[WKFullScreenWindowController _completedExitFullScreen]):
(-[WKFullScreenWindowController didExitPictureInPicture]):
(-[WKFullScreenWindowController _videoPresentationManager]):
(-[WKFullScreenWindowController _videoFullscreenManager]): Deleted.
* Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController clearVideoPresentationManagerObserver]):
(-[WKFullScreenWindowController setVideoPresentationManagerObserver]):
(-[WKFullScreenWindowController didExitPictureInPicture]):
(-[WKFullScreenWindowController windowDidEnterFullScreen:]):
(-[WKFullScreenWindowController windowDidFailToExitFullScreen:]):
(-[WKFullScreenWindowController windowDidExitFullScreen:]):
(-[WKFullScreenWindowController _videoPresentationManager]):
(-[WKFullScreenWindowController clearVideoFullscreenManagerObserver]): Deleted.
(-[WKFullScreenWindowController setVideoFullscreenManagerObserver]): Deleted.
(-[WKFullScreenWindowController _videoFullscreenManager]): Deleted.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp:
(WebKit::WebFullScreenManager::enterFullScreenForElement):
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::prepareForVideoFullscreen):
(WebKit::WebChromeClient::canEnterVideoFullscreen const):
(WebKit::WebChromeClient::supportsVideoFullscreen):
(WebKit::WebChromeClient::supportsVideoFullscreenStandby):
(WebKit::WebChromeClient::enterVideoFullscreenForVideoElement):
(WebKit::WebChromeClient::exitVideoFullscreenForVideoElement):
(WebKit::WebChromeClient::exitVideoFullscreenToModeWithoutAnimation):
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeContext.mm:
(WebKit::RemoteLayerTreeContext::layerDidEnterContext):
(WebKit::RemoteLayerTreeContext::layerWillLeaveContext):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::~WebPage):
(WebKit::WebPage::updateDrawingAreaLayerTreeFreezeState):
(WebKit::WebPage::videoPresentationManager):
(WebKit::WebPage::videoFullscreenManager): Deleted.
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/cocoa/PlaybackSessionManager.h:
(WebKit::PlaybackSessionManager::logClassName const):
* Source/WebKit/WebProcess/cocoa/TextTrackRepresentationCocoa.h:
* Source/WebKit/WebProcess/cocoa/TextTrackRepresentationCocoa.mm:
(WebKit::WebTextTrackRepresentationCocoa::update):
(WebKit::WebTextTrackRepresentationCocoa::setContentScale):
(WebKit::WebTextTrackRepresentationCocoa::setHidden const):
* Source/WebKit/WebProcess/cocoa/VideoPresentationManager.h: Renamed from Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.h.
(WebKit::VideoPresentationInterfaceContext::create):
* Source/WebKit/WebProcess/cocoa/VideoPresentationManager.messages.in: Renamed from Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.messages.in.
* Source/WebKit/WebProcess/cocoa/VideoPresentationManager.mm: Renamed from Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm.
(WebKit::VideoPresentationInterfaceContext::VideoPresentationInterfaceContext):
(WebKit::VideoPresentationInterfaceContext::~VideoPresentationInterfaceContext):
(WebKit::VideoPresentationInterfaceContext::setLayerHostingContext):
(WebKit::VideoPresentationInterfaceContext::setRootLayer):
(WebKit::VideoPresentationInterfaceContext::hasVideoChanged):
(WebKit::VideoPresentationInterfaceContext::videoDimensionsChanged):
(WebKit::VideoPresentationInterfaceContext::setPlayerIdentifier):
(WebKit::VideoPresentationManager::create):
(WebKit::VideoPresentationManager::VideoPresentationManager):
(WebKit::VideoPresentationManager::~VideoPresentationManager):
(WebKit::VideoPresentationManager::invalidate):
(WebKit::VideoPresentationManager::hasVideoPlayingInPictureInPicture const):
(WebKit::VideoPresentationManager::createModelAndInterface):
(WebKit::VideoPresentationManager::ensureModelAndInterface):
(WebKit::VideoPresentationManager::ensureModel):
(WebKit::VideoPresentationManager::ensureInterface):
(WebKit::VideoPresentationManager::removeContext):
(WebKit::VideoPresentationManager::addClientForContext):
(WebKit::VideoPresentationManager::removeClientForContext):
(WebKit::VideoPresentationManager::canEnterVideoFullscreen const):
(WebKit::VideoPresentationManager::supportsVideoFullscreen const):
(WebKit::VideoPresentationManager::supportsVideoFullscreenStandby const):
(WebKit::VideoPresentationManager::setupRemoteLayerHosting):
(WebKit::VideoPresentationManager::willRemoveLayerForID):
(WebKit::VideoPresentationManager::enterVideoFullscreenForVideoElement):
(WebKit::VideoPresentationManager::exitVideoFullscreenForVideoElement):
(WebKit::VideoPresentationManager::exitVideoFullscreenToModeWithoutAnimation):
(WebKit::VideoPresentationManager::hasVideoChanged):
(WebKit::VideoPresentationManager::videoDimensionsChanged):
(WebKit::VideoPresentationManager::setPlayerIdentifier):
(WebKit::VideoPresentationManager::requestFullscreenMode):
(WebKit::VideoPresentationManager::fullscreenModeChanged):
(WebKit::VideoPresentationManager::requestUpdateInlineRect):
(WebKit::VideoPresentationManager::requestVideoContentLayer):
(WebKit::VideoPresentationManager::returnVideoContentLayer):
(WebKit::VideoPresentationManager::didSetupFullscreen):
(WebKit::VideoPresentationManager::willExitFullscreen):
(WebKit::VideoPresentationManager::didEnterFullscreen):
(WebKit::VideoPresentationManager::failedToEnterFullscreen):
(WebKit::VideoPresentationManager::didExitFullscreen):
(WebKit::VideoPresentationManager::didCleanupFullscreen):
(WebKit::VideoPresentationManager::setVideoLayerGravityEnum):
(WebKit::VideoPresentationManager::fullscreenMayReturnToInline):
(WebKit::VideoPresentationManager::requestRouteSharingPolicyAndContextUID):
(WebKit::VideoPresentationManager::setCurrentlyInFullscreen):
(WebKit::VideoPresentationManager::setVideoLayerFrameFenced):
(WebKit::VideoPresentationManager::updateTextTrackRepresentationForVideoElement):
(WebKit::VideoPresentationManager::setTextTrackRepresentationContentScaleForVideoElement):
(WebKit::VideoPresentationManager::setTextTrackRepresentationIsHiddenForVideoElement):
(WebKit::VideoPresentationManager::logger const):
(WebKit::VideoPresentationManager::logIdentifier const):
(WebKit::VideoPresentationManager::logClassName const):
(WebKit::VideoPresentationManager::logChannel const):

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




More information about the webkit-changes mailing list