Pass the setting added in r176199 to AVKit.
Created attachment 242510 [details] Proposed patch.
r=me
Comment on attachment 242510 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=242510&action=review r=me, but needs a 👍 from a WK2 owner for the WK2 changes. > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h:84 > - WEBCORE_EXPORT virtual void setupFullscreen(PlatformLayer&, IntRect initialRect, UIView *, HTMLMediaElement::VideoFullscreenMode); > + WEBCORE_EXPORT virtual void setupFullscreen(PlatformLayer&, IntRect initialRect, UIView *, HTMLMediaElement::VideoFullscreenMode, bool); Why no parameter name here? > Source/WebKit2/UIProcess/ios/WebVideoFullscreenManagerProxy.h:58 > - void setupFullscreenWithID(uint32_t, WebCore::IntRect initialRect, float hostingDeviceScaleFactor, uint32_t videoFullscreenMode); > + void setupFullscreenWithID(uint32_t, WebCore::IntRect initialRect, float hostingDeviceScaleFactor, uint32_t videoFullscreenMode, bool); Why no parameter name here?
Looks good! I agree with Jer that you should name the boolean parameters though.
rdar://problem/19155999
Committed r176841: https://trac.webkit.org/r176841