Move FullscreenClient creation into WebViewImpl, for use in (deprecated) WKView.
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2017 20:16:04 +0000 (20:16 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2017 20:16:04 +0000 (20:16 +0000)
commitcda97fc24557eb64ba11d8cde34363dbeb14a8d3
treec7bc14ac802a567dd326d2ca604d826e3ad5cf17
parent3ac34cb64e7f5a14016563316473d2d3f5218065
Move FullscreenClient creation into WebViewImpl, for use in (deprecated) WKView.
https://bugs.webkit.org/show_bug.cgi?id=168007

Reviewed by Alex Christensen.

Source/WebKit2:

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _initializeWithConfiguration:]):
* UIProcess/API/Cocoa/_WKFullscreenDelegate.h:
* UIProcess/Cocoa/FullscreenClient.h:
* UIProcess/Cocoa/FullscreenClient.mm:
(WebKit::FullscreenClient::FullscreenClient):
* UIProcess/Cocoa/WebViewImpl.mm:
(WebKit::WebViewImpl::WebViewImpl):

Tools:

* TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.mm:
(didFinishLoadForFrame):
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
Source/WebKit2/UIProcess/API/Cocoa/_WKFullscreenDelegate.h
Source/WebKit2/UIProcess/Cocoa/FullscreenClient.h
Source/WebKit2/UIProcess/Cocoa/FullscreenClient.mm
Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.mm