Skip to content
Permalink
Browse files
Call setFullscreenClient on iOS.
https://bugs.webkit.org/show_bug.cgi?id=178089

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-10-26
Reviewed by Simon Fraser.

This was only being set for MacOS.

* UIProcess/ios/WKContentView.mm:
(-[WKContentView _commonInitializationWithProcessPool:configuration:]):

Canonical link: https://commits.webkit.org/195051@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Jeremy Jones authored and webkit-commit-queue committed Oct 26, 2017
1 parent f1de71a commit d418181ae4a2fda62eccc817f8a9bf935cee21ec
Showing 2 changed files with 16 additions and 0 deletions.
@@ -1,3 +1,15 @@
2017-10-26 Jeremy Jones <jeremyj@apple.com>

Call setFullscreenClient on iOS.
https://bugs.webkit.org/show_bug.cgi?id=178089

Reviewed by Simon Fraser.

This was only being set for MacOS.

* UIProcess/ios/WKContentView.mm:
(-[WKContentView _commonInitializationWithProcessPool:configuration:]):

2017-10-26 Eric Carlson <eric.carlson@apple.com>

NowPlayingInfo should contain a unique identifier
@@ -200,6 +200,10 @@ - (instancetype)_commonInitializationWithProcessPool:(WebKit::WebProcessPool&)pr
_page->setUseFixedLayout(true);
_page->setDelegatesScrolling(true);

#if ENABLE(FULLSCREEN_API) && WK_API_ENABLED
_page->setFullscreenClient(std::make_unique<WebKit::FullscreenClient>(_webView));
#endif

WebProcessPool::statistics().wkViewCount++;

_rootContentView = adoptNS([[UIView alloc] init]);

0 comments on commit d418181

Please sign in to comment.