[webkit-changes] [WebKit/WebKit] 482e2b: Rename VideoFullscreenInterface to VideoPresentati...

danae404 noreply at github.com
Thu Jan 25 11:28:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 482e2b0ed7b166adfb9073f78d9a7a12560d9957
      https://github.com/WebKit/WebKit/commit/482e2b0ed7b166adfb9073f78d9a7a12560d9957
  Author: Dana Estra <destra at apple.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M Source/WebCore/SourcesCocoa.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/html/HTMLMediaElement.cpp
    R Source/WebCore/platform/graphics/PlatformVideoFullscreenInterface.h
    A Source/WebCore/platform/graphics/PlatformVideoPresentationInterface.h
    R Source/WebCore/platform/graphics/cocoa/NullVideoFullscreenInterface.h
    A Source/WebCore/platform/graphics/cocoa/NullVideoPresentationInterface.h
    R Source/WebCore/platform/ios/VideoFullscreenInterfaceIOS.h
    R Source/WebCore/platform/ios/VideoFullscreenInterfaceIOS.mm
    A Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.h
    A Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.mm
    M Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm
    R Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.h
    R Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.mm
    A Source/WebCore/platform/mac/VideoPresentationInterfaceMac.h
    A Source/WebCore/platform/mac/VideoPresentationInterfaceMac.mm
    M Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.h
    M Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.mm
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm
    M Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm

  Log Message:
  -----------
  Rename VideoFullscreenInterface to VideoPresentationInterface
https://bugs.webkit.org/show_bug.cgi?id=267937
rdar://121457364

Reviewed by Andy Estes.

VideoFullscreenInterface* is used for presentation modes other than Fullscreen,
Therefore naming more appropriately to VideoPresentationInterface*.

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.h: Renamed from Source/WebCore/platform/ios/VideoFullscreenInterfaceIOS.h.
* Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.mm: Renamed from Source/WebCore/platform/ios/VideoFullscreenInterfaceIOS.mm.
(clearUIColor):
(boolString):
(-[WebAVPlayerViewControllerDelegate fullscreenInterface]):
(-[WebAVPlayerViewControllerDelegate setFullscreenInterface:]):
(-[WebAVPlayerViewControllerDelegate playerViewControllerWillStartPictureInPicture:]):
(-[WebAVPlayerViewControllerDelegate playerViewControllerDidStartPictureInPicture:]):
(-[WebAVPlayerViewControllerDelegate playerViewController:failedToStartPictureInPictureWithError:]):
(-[WebAVPlayerViewControllerDelegate playerViewControllerWillStopPictureInPicture:]):
(-[WebAVPlayerViewControllerDelegate playerViewControllerDidStopPictureInPicture:]):
(-[WebAVPlayerViewControllerDelegate playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:]):
(convertToExitFullScreenReason):
(-[WebAVPlayerViewControllerDelegate playerViewController:shouldExitFullScreenWithReason:]):
(-[WebAVPlayerViewControllerDelegate playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:]):
(-[WebAVPlayerViewControllerDelegate playerViewControllerShouldStartPictureInPictureFromInlineWhenEnteringBackground:]):
(-[WebAVPlayerViewControllerDelegate pictureInPictureControllerWillStartPictureInPicture:]):
(-[WebAVPlayerViewControllerDelegate pictureInPictureControllerDidStartPictureInPicture:]):
(-[WebAVPlayerViewControllerDelegate pictureInPictureController:failedToStartPictureInPictureWithError:]):
(-[WebAVPlayerViewControllerDelegate pictureInPictureControllerWillStopPictureInPicture:]):
(-[WebAVPlayerViewControllerDelegate pictureInPictureControllerDidStopPictureInPicture:]):
(-[WebAVPlayerViewControllerDelegate pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:]):
(WebAVPictureInPictureContentViewController_initWithController):
(WebAVPictureInPictureContentViewController_controller):
(WebAVPictureInPictureContentViewController_playerLayer):
(WebAVPictureInPictureContentViewController_setPlayerLayer):
(WebAVPictureInPictureContentViewController_viewWillLayoutSubviews):
(WebAVPictureInPictureContentViewController_dealloc):
(allocWebAVPictureInPictureContentViewControllerInstance):
(-[WebAVPlayerViewController initWithFullscreenInterface:]):
(-[WebAVPlayerViewController configurePlayerViewControllerWithFullscreenInterface:]):
(-[WebAVPlayerViewController dealloc]):
(-[WebAVPlayerViewController playerViewControllerShouldHandleDoneButtonTap:]):
(-[WebAVPlayerViewController setWebKitOverrideRouteSharingPolicy:routingContextUID:]):
(-[WebAVPlayerViewController enterFullScreenAnimated:completionHandler:]):
(-[WebAVPlayerViewController exitFullScreenAnimated:completionHandler:]):
(-[WebAVPlayerViewController observeValueForKeyPath:ofObject:change:context:]):
(-[WebAVPlayerViewController initObserver]):
(-[WebAVPlayerViewController removeObserver]):
(-[WebAVPlayerViewController MY_NO_RETURN]):
(-[WebAVPlayerViewController isPictureInPicturePossible]):
(-[WebAVPlayerViewController isPictureInPictureActive]):
(-[WebAVPlayerViewController pictureInPictureActive]):
(-[WebAVPlayerViewController pictureInPictureWasStartedWhenEnteringBackground]):
(-[WebAVPlayerViewController view]):
(-[WebAVPlayerViewController flashPlaybackControlsWithDuration:]):
(-[WebAVPlayerViewController showsPlaybackControls]):
(-[WebAVPlayerViewController setShowsPlaybackControls:]):
(-[WebAVPlayerViewController setAllowsPictureInPicturePlayback:]):
(-[WebAVPlayerViewController setDelegate:]):
(-[WebAVPlayerViewController setPlayerController:]):
(-[WebAVPlayerViewController avPlayerViewController]):
(-[WebAVPlayerViewController removeFromParentViewController]):
(-[WebAVPlayerViewController logIdentifier]):
(-[WebAVPlayerViewController loggerPtr]):
(-[WebAVPlayerViewController logChannel]):
(VideoFullscreenInterfaceIOS::create):
(VideoFullscreenInterfaceIOS::VideoFullscreenInterfaceIOS):
(VideoFullscreenInterfaceIOS::~VideoFullscreenInterfaceIOS):
(VideoFullscreenInterfaceIOS::playerController const):
(VideoFullscreenInterfaceIOS::avPlayerViewController const):
(VideoFullscreenInterfaceIOS::setVideoPresentationModel):
(VideoFullscreenInterfaceIOS::hasVideoChanged):
(VideoFullscreenInterfaceIOS::videoDimensionsChanged):
(VideoFullscreenInterfaceIOS::externalPlaybackChanged):
(VideoFullscreenInterfaceIOS::pictureInPictureWasStartedWhenEnteringBackground const):
(fallbackViewController):
(VideoFullscreenInterfaceIOS::presentingViewController):
(VideoFullscreenInterfaceIOS::applicationDidBecomeActive):
(VideoFullscreenInterfaceIOS::setupFullscreen):
(VideoFullscreenInterfaceIOS::enterFullscreen):
(VideoFullscreenInterfaceIOS::exitFullscreen):
(VideoFullscreenInterfaceIOS::exitFullscreenWithoutAnimationToMode):
(VideoFullscreenInterfaceIOS::cleanupFullscreen):
(VideoFullscreenInterfaceIOS::invalidate):
(VideoFullscreenInterfaceIOS::setPlayerIdentifier):
(VideoFullscreenInterfaceIOS::requestHideAndExitFullscreen):
(VideoFullscreenInterfaceIOS::preparedToReturnToInline):
(VideoFullscreenInterfaceIOS::preparedToExitFullscreen):
(VideoFullscreenInterfaceIOS::mayAutomaticallyShowVideoPictureInPicture const):
(VideoFullscreenInterfaceIOS::prepareForPictureInPictureStop):
(VideoFullscreenInterfaceIOS::willStartPictureInPicture):
(VideoFullscreenInterfaceIOS::didStartPictureInPicture):
(VideoFullscreenInterfaceIOS::failedToStartPictureInPicture):
(VideoFullscreenInterfaceIOS::willStopPictureInPicture):
(VideoFullscreenInterfaceIOS::didStopPictureInPicture):
(VideoFullscreenInterfaceIOS::prepareForPictureInPictureStopWithCompletionHandler):
(VideoFullscreenInterfaceIOS::shouldExitFullscreenWithReason):
(VideoFullscreenInterfaceIOS::setHasVideoContentLayer):
(VideoFullscreenInterfaceIOS::setInlineRect):
(VideoFullscreenInterfaceIOS::doSetup):
(VideoFullscreenInterfaceIOS::preparedToReturnToStandby):
(VideoFullscreenInterfaceIOS::finalizeSetup):
(VideoFullscreenInterfaceIOS::doEnterFullscreen):
(VideoFullscreenInterfaceIOS::doExitFullscreen):
(VideoFullscreenInterfaceIOS::exitFullscreenHandler):
(VideoFullscreenInterfaceIOS::enterFullscreenHandler):
(VideoFullscreenInterfaceIOS::returnToStandby):
(VideoFullscreenInterfaceIOS::watchdogTimerFired):
(VideoFullscreenInterfaceIOS::setMode):
(VideoFullscreenInterfaceIOS::clearMode):
(VideoFullscreenInterfaceIOS::isPlayingVideoInEnhancedFullscreen const):
(VideoFullscreenInterfaceIOS::logIdentifier const):
(VideoFullscreenInterfaceIOS::loggerPtr const):
(VideoFullscreenInterfaceIOS::logChannel const):
(WebCore::setSupportsPictureInPicture):
(WebCore::supportsPictureInPicture):

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




More information about the webkit-changes mailing list