Title: [224063] trunk/Source/WebKit
Revision
224063
Author
[email protected]
Date
2017-10-26 16:30:00 -0700 (Thu, 26 Oct 2017)

Log Message

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

Patch by Jeremy Jones <[email protected]> on 2017-10-26
Reviewed by Simon Fraser.

This was only being set for MacOS.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (224062 => 224063)


--- trunk/Source/WebKit/ChangeLog	2017-10-26 23:28:31 UTC (rev 224062)
+++ trunk/Source/WebKit/ChangeLog	2017-10-26 23:30:00 UTC (rev 224063)
@@ -1,3 +1,15 @@
+2017-10-26  Jeremy Jones  <[email protected]>
+
+        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  <[email protected]>
 
         NowPlayingInfo should contain a unique identifier

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentView.mm (224062 => 224063)


--- trunk/Source/WebKit/UIProcess/ios/WKContentView.mm	2017-10-26 23:28:31 UTC (rev 224062)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentView.mm	2017-10-26 23:30:00 UTC (rev 224063)
@@ -200,6 +200,10 @@
     _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]);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to