Move WebVideoFullscreenController from WebCore to WebKitLegacy.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Feb 2018 03:30:45 +0000 (03:30 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Feb 2018 03:30:45 +0000 (03:30 +0000)
commitd82963500212722092e5a513c1cb114a9e0ae5e7
tree60fac6b422a3f7c681f54fd55dce7788502f5ee8
parent2c21e2d1fdce1329aafaefa79912160957528951
Move WebVideoFullscreenController from WebCore to WebKitLegacy.
https://bugs.webkit.org/show_bug.cgi?id=182615

Reviewed by Eric Carlson.

It is only used by WK1. Also there are a few references to NSApp in WebVideoFullscreenController.mm.
Ideally, we should not reference NSApp in WebCore.

Source/WebCore:

No new tests. No change in behavior.

* SourcesMac.txt:
* WebCore.xcodeproj/project.pbxproj:
* html/HTMLMediaElement.h:
* platform/mac/WebVideoFullscreenController.h: Removed.
* platform/mac/WebVideoFullscreenController.mm: Removed.
* platform/mac/WebVideoFullscreenHUDWindowController.h: Removed.
* platform/mac/WebVideoFullscreenHUDWindowController.mm: Removed.
* platform/mac/WebWindowAnimation.h: Removed.
* platform/mac/WebWindowAnimation.mm: Removed.

Source/WebKitLegacy:

* WebKitLegacy.xcodeproj/project.pbxproj:

Source/WebKitLegacy/mac:

* WebView/WebFullScreenController.mm:
* WebView/WebVideoFullscreenController.h: Copied from Source/WebCore/platform/mac/WebVideoFullscreenController.h.
* WebView/WebVideoFullscreenController.mm: Copied from Source/WebCore/platform/mac/WebVideoFullscreenController.mm.
* WebView/WebVideoFullscreenHUDWindowController.h: Copied from Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.h.
* WebView/WebVideoFullscreenHUDWindowController.mm: Copied from Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm.
* WebView/WebView.mm:
* WebView/WebWindowAnimation.h: Copied from Source/WebCore/platform/mac/WebWindowAnimation.h.
* WebView/WebWindowAnimation.mm: Copied from Source/WebCore/platform/mac/WebWindowAnimation.mm.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
Source/WebCore/ChangeLog
Source/WebCore/SourcesMac.txt
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/html/HTMLMediaElement.h
Source/WebKitLegacy/ChangeLog
Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj
Source/WebKitLegacy/mac/ChangeLog
Source/WebKitLegacy/mac/WebView/WebFullScreenController.mm
Source/WebKitLegacy/mac/WebView/WebVideoFullscreenController.h [moved from Source/WebCore/platform/mac/WebVideoFullscreenController.h with 100% similarity]
Source/WebKitLegacy/mac/WebView/WebVideoFullscreenController.mm [moved from Source/WebCore/platform/mac/WebVideoFullscreenController.mm with 99% similarity]
Source/WebKitLegacy/mac/WebView/WebVideoFullscreenHUDWindowController.h [moved from Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.h with 99% similarity]
Source/WebKitLegacy/mac/WebView/WebVideoFullscreenHUDWindowController.mm [moved from Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm with 95% similarity]
Source/WebKitLegacy/mac/WebView/WebView.mm
Source/WebKitLegacy/mac/WebView/WebWindowAnimation.h [moved from Source/WebCore/platform/mac/WebWindowAnimation.h with 100% similarity]
Source/WebKitLegacy/mac/WebView/WebWindowAnimation.mm [moved from Source/WebCore/platform/mac/WebWindowAnimation.mm with 96% similarity]