Title: [245559] branches/safari-608.1.24.20-branch/Source/WebCore
- Revision
- 245559
- Author
- [email protected]
- Date
- 2019-05-20 20:21:39 -0700 (Mon, 20 May 2019)
Log Message
Cherry-pick r245539. rdar://problem/48740417
Provide an explicit UIModalPresentation style when creating an AVPlayerViewController for fullscreen.
https://bugs.webkit.org/show_bug.cgi?id=198052
Reviewed by Tim Horton.
Make sure AVPlayerViewController has an "overFullScreen" modal style.
* platform/ios/VideoFullscreenInterfaceAVKit.mm:
(-[WebAVPlayerViewController initWithFullscreenInterface:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-608.1.24.20-branch/Source/WebCore/ChangeLog (245558 => 245559)
--- branches/safari-608.1.24.20-branch/Source/WebCore/ChangeLog 2019-05-21 03:21:36 UTC (rev 245558)
+++ branches/safari-608.1.24.20-branch/Source/WebCore/ChangeLog 2019-05-21 03:21:39 UTC (rev 245559)
@@ -1,5 +1,34 @@
2019-05-20 Kocsen Chung <[email protected]>
+ Cherry-pick r245539. rdar://problem/48740417
+
+ Provide an explicit UIModalPresentation style when creating an AVPlayerViewController for fullscreen.
+ https://bugs.webkit.org/show_bug.cgi?id=198052
+
+ Reviewed by Tim Horton.
+
+ Make sure AVPlayerViewController has an "overFullScreen" modal style.
+
+ * platform/ios/VideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerViewController initWithFullscreenInterface:]):
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-05-20 Jer Noble <[email protected]>
+
+ Provide an explicit UIModalPresentation style when creating an AVPlayerViewController for fullscreen.
+ https://bugs.webkit.org/show_bug.cgi?id=198052
+
+ Reviewed by Tim Horton.
+
+ Make sure AVPlayerViewController has an "overFullScreen" modal style.
+
+ * platform/ios/VideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerViewController initWithFullscreenInterface:]):
+
+2019-05-20 Kocsen Chung <[email protected]>
+
Cherry-pick r245505. rdar://problem/50801608
[Pointer Events] A pointer should be marked as primary for all of its events
Modified: branches/safari-608.1.24.20-branch/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm (245558 => 245559)
--- branches/safari-608.1.24.20-branch/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm 2019-05-21 03:21:36 UTC (rev 245558)
+++ branches/safari-608.1.24.20-branch/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm 2019-05-21 03:21:39 UTC (rev 245559)
@@ -551,6 +551,7 @@
_fullscreenInterface = interface;
_avPlayerViewController = adoptNS([allocAVPlayerViewControllerInstance() initWithPlayerLayerView:interface->playerLayerView()]);
+ _avPlayerViewController.get().modalPresentationStyle = UIModalPresentationOverFullScreen;
#if PLATFORM(WATCHOS)
_avPlayerViewController.get().delegate = self;
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes