Remove Web prefix from WebVideoFullscreen and WebPlaybackSession classes.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Jul 2017 07:25:39 +0000 (07:25 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Jul 2017 07:25:39 +0000 (07:25 +0000)
commitd98250fd722843df1858662a2a57c1fd25b359ae
tree3de44cd4f63452dfc590c2e84f4df5a449730895
parentafc2b203f3d9eb49a48e6749f0a842c756973069
Remove Web prefix from WebVideoFullscreen and WebPlaybackSession classes.
https://bugs.webkit.org/show_bug.cgi?id=174437

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-07-28
Reviewed by Darin Adler.

Source/WebCore:

No new tests because no behavior change.

Remove redundant Web- prefix from classes in WebCore namespace.

* WebCore.xcodeproj/project.pbxproj:
* html/HTMLMediaElement.cpp:
* html/HTMLVideoElement.cpp:
* platform/cocoa/PlaybackSessionInterface.h: Renamed from Source/WebCore/platform/cocoa/WebPlaybackSessionInterface.h.
(WebCore::PlaybackSessionInterface::~PlaybackSessionInterface):
* platform/cocoa/PlaybackSessionModel.h: Renamed from Source/WebCore/platform/cocoa/WebPlaybackSessionModel.h.
(WebCore::PlaybackSessionModel::~PlaybackSessionModel):
(WebCore::PlaybackSessionModelClient::~PlaybackSessionModelClient):
(WebCore::PlaybackSessionModelClient::externalPlaybackChanged):
* platform/cocoa/PlaybackSessionModelMediaElement.h: Renamed from Source/WebCore/platform/cocoa/WebPlaybackSessionModelMediaElement.h.
* platform/cocoa/PlaybackSessionModelMediaElement.mm: Renamed from Source/WebCore/platform/cocoa/WebPlaybackSessionModelMediaElement.mm.
* platform/cocoa/VideoFullscreenChangeObserver.h: Renamed from Source/WebCore/platform/cocoa/WebVideoFullscreenChangeObserver.h.
(WebCore::VideoFullscreenChangeObserver::~VideoFullscreenChangeObserver):
* platform/cocoa/VideoFullscreenModel.h: Renamed from Source/WebCore/platform/cocoa/WebVideoFullscreenModel.h.
(WebCore::VideoFullscreenModel::~VideoFullscreenModel):
(WebCore::VideoFullscreenModelClient::~VideoFullscreenModelClient):
* platform/cocoa/VideoFullscreenModelVideoElement.h: Renamed from Source/WebCore/platform/cocoa/WebVideoFullscreenModelVideoElement.h.
(WebCore::VideoFullscreenModelVideoElement::create):
* platform/cocoa/VideoFullscreenModelVideoElement.mm: Renamed from Source/WebCore/platform/cocoa/WebVideoFullscreenModelVideoElement.mm.
* platform/ios/PlaybackSessionInterfaceAVKit.h: Renamed from Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.h.
* platform/ios/PlaybackSessionInterfaceAVKit.mm: Renamed from Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm.
* platform/ios/VideoFullscreenInterfaceAVKit.h: Renamed from Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h.
* platform/ios/VideoFullscreenInterfaceAVKit.mm: Renamed from Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm.
* platform/ios/WebAVPlayerController.h:
* platform/ios/WebAVPlayerController.mm:
* platform/ios/WebVideoFullscreenControllerAVKit.mm:
* platform/mac/PlaybackSessionInterfaceMac.h: Renamed from Source/WebCore/platform/mac/WebPlaybackSessionInterfaceMac.h.
* platform/mac/PlaybackSessionInterfaceMac.mm: Renamed from Source/WebCore/platform/mac/WebPlaybackSessionInterfaceMac.mm.
* platform/mac/VideoFullscreenInterfaceMac.h: Renamed from Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.h.
* platform/mac/VideoFullscreenInterfaceMac.mm: Renamed from Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.mm.
* platform/mac/WebPlaybackControlsManager.h:
* platform/mac/WebPlaybackControlsManager.mm:

Source/WebKit:

Remove redundant Web- prefix from classes in WebKit namespace.

* DerivedSources.make:
* UIProcess/API/Cocoa/WKWebView.mm:
* UIProcess/Cocoa/PlaybackSessionManagerProxy.h: Renamed from Source/WebKit/UIProcess/Cocoa/WebPlaybackSessionManagerProxy.h.
* UIProcess/Cocoa/PlaybackSessionManagerProxy.messages.in: Renamed from Source/WebKit/UIProcess/Cocoa/WebPlaybackSessionManagerProxy.messages.in.
* UIProcess/Cocoa/PlaybackSessionManagerProxy.mm: Added.
* UIProcess/Cocoa/VideoFullscreenManagerProxy.h: Renamed from Source/WebKit/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h.
* UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in: Renamed from Source/WebKit/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.messages.in.
* UIProcess/Cocoa/VideoFullscreenManagerProxy.mm: Renamed from Source/WebKit/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.mm.
* UIProcess/Cocoa/WebPlaybackSessionManagerProxy.mm: Removed.
* UIProcess/Cocoa/WebViewImpl.mm:
(WebKit::WebViewImpl::updateMediaTouchBar):
* UIProcess/WebPageProxy.cpp:
(WebKit::m_weakPtrFactory):
(WebKit::WebPageProxy::reattachToWebProcess):
(WebKit::WebPageProxy::playbackSessionManager):
(WebKit::WebPageProxy::videoFullscreenManager):
* UIProcess/WebPageProxy.h:
* UIProcess/ios/WebPageProxyIOS.mm:
* WebKit.xcodeproj/project.pbxproj:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::playbackSessionManager):
(WebKit::WebPage::videoFullscreenManager):
* WebProcess/WebPage/WebPage.h:
* WebProcess/cocoa/PlaybackSessionManager.h: Renamed from Source/WebKit/WebProcess/cocoa/WebPlaybackSessionManager.h.
* WebProcess/cocoa/PlaybackSessionManager.messages.in: Renamed from Source/WebKit/WebProcess/cocoa/WebPlaybackSessionManager.messages.in.
* WebProcess/cocoa/PlaybackSessionManager.mm: Added.
* WebProcess/cocoa/VideoFullscreenManager.h: Renamed from Source/WebKit/WebProcess/cocoa/WebVideoFullscreenManager.h.
(WebKit::VideoFullscreenInterfaceContext::create):
* WebProcess/cocoa/VideoFullscreenManager.messages.in: Renamed from Source/WebKit/WebProcess/cocoa/WebVideoFullscreenManager.messages.in.
* WebProcess/cocoa/VideoFullscreenManager.mm: Renamed from Source/WebKit/WebProcess/cocoa/WebVideoFullscreenManager.mm.
* WebProcess/cocoa/WebPlaybackSessionManager.mm: Removed.

Source/WebKitLegacy/mac:

Remove redundant Web- prefix from classes in WebKit namespace.

* WebView/WebView.mm:
(-[WebView _setUpPlaybackControlsManagerForMediaElement:]):
* WebView/WebViewData.h:
* WebView/WebViewData.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
54 files changed:
Source/WebCore/ChangeLog
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/html/HTMLMediaElement.cpp
Source/WebCore/html/HTMLVideoElement.cpp
Source/WebCore/platform/cocoa/PlaybackSessionInterface.h [moved from Source/WebCore/platform/cocoa/WebPlaybackSessionInterface.h with 95% similarity]
Source/WebCore/platform/cocoa/PlaybackSessionModel.h [moved from Source/WebCore/platform/cocoa/WebPlaybackSessionModel.h with 90% similarity]
Source/WebCore/platform/cocoa/PlaybackSessionModelMediaElement.h [moved from Source/WebCore/platform/cocoa/WebPlaybackSessionModelMediaElement.h with 87% similarity]
Source/WebCore/platform/cocoa/PlaybackSessionModelMediaElement.mm [moved from Source/WebCore/platform/cocoa/WebPlaybackSessionModelMediaElement.mm with 80% similarity]
Source/WebCore/platform/cocoa/VideoFullscreenChangeObserver.h [moved from Source/WebCore/platform/cocoa/WebVideoFullscreenChangeObserver.h with 94% similarity]
Source/WebCore/platform/cocoa/VideoFullscreenModel.h [moved from Source/WebCore/platform/cocoa/WebVideoFullscreenModel.h with 85% similarity]
Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.h [moved from Source/WebCore/platform/cocoa/WebVideoFullscreenModelVideoElement.h with 84% similarity]
Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.mm [moved from Source/WebCore/platform/cocoa/WebVideoFullscreenModelVideoElement.mm with 73% similarity]
Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.h [moved from Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.h with 75% similarity]
Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.mm [moved from Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm with 80% similarity]
Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.h [moved from Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h with 77% similarity]
Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm [moved from Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm with 82% similarity]
Source/WebCore/platform/ios/WebAVPlayerController.h
Source/WebCore/platform/ios/WebAVPlayerController.mm
Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm
Source/WebCore/platform/mac/PlaybackSessionInterfaceMac.h [moved from Source/WebCore/platform/mac/WebPlaybackSessionInterfaceMac.h with 79% similarity]
Source/WebCore/platform/mac/PlaybackSessionInterfaceMac.mm [moved from Source/WebCore/platform/mac/WebPlaybackSessionInterfaceMac.mm with 77% similarity]
Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.h [moved from Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.h with 67% similarity]
Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.mm [moved from Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.mm with 68% similarity]
Source/WebCore/platform/mac/WebPlaybackControlsManager.h
Source/WebCore/platform/mac/WebPlaybackControlsManager.mm
Source/WebKit/ChangeLog
Source/WebKit/DerivedSources.make
Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.h [moved from Source/WebKit/UIProcess/Cocoa/WebPlaybackSessionManagerProxy.h with 78% similarity]
Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.messages.in [moved from Source/WebKit/UIProcess/Cocoa/WebPlaybackSessionManagerProxy.messages.in with 98% similarity]
Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.mm [new file with mode: 0644]
Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.h [moved from Source/WebKit/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h with 68% similarity]
Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in [moved from Source/WebKit/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.messages.in with 98% similarity]
Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm [moved from Source/WebKit/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.mm with 57% similarity]
Source/WebKit/UIProcess/Cocoa/WebPlaybackSessionManagerProxy.mm [deleted file]
Source/WebKit/UIProcess/Cocoa/WebViewImpl.mm
Source/WebKit/UIProcess/WebPageProxy.cpp
Source/WebKit/UIProcess/WebPageProxy.h
Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
Source/WebKit/WebKit.xcodeproj/project.pbxproj
Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
Source/WebKit/WebProcess/WebPage/WebPage.cpp
Source/WebKit/WebProcess/WebPage/WebPage.h
Source/WebKit/WebProcess/cocoa/PlaybackSessionManager.h [moved from Source/WebKit/WebProcess/cocoa/WebPlaybackSessionManager.h with 76% similarity]
Source/WebKit/WebProcess/cocoa/PlaybackSessionManager.messages.in [moved from Source/WebKit/WebProcess/cocoa/WebPlaybackSessionManager.messages.in with 98% similarity]
Source/WebKit/WebProcess/cocoa/PlaybackSessionManager.mm [new file with mode: 0644]
Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.h [moved from Source/WebKit/WebProcess/cocoa/WebVideoFullscreenManager.h with 76% similarity]
Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.messages.in [moved from Source/WebKit/WebProcess/cocoa/WebVideoFullscreenManager.messages.in with 98% similarity]
Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm [moved from Source/WebKit/WebProcess/cocoa/WebVideoFullscreenManager.mm with 60% similarity]
Source/WebKit/WebProcess/cocoa/WebPlaybackSessionManager.mm [deleted file]
Source/WebKitLegacy/mac/ChangeLog
Source/WebKitLegacy/mac/WebView/WebView.mm
Source/WebKitLegacy/mac/WebView/WebViewData.h
Source/WebKitLegacy/mac/WebView/WebViewData.mm