Summary: | [iOS] allow host application to opt-out of alternate fullscreen pt. 2 | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, commit-queue, glenn, jeremyj-wk, jer.noble, philipj, sergio | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Eric Carlson
2014-12-03 11:14:33 PST
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. Committed r176841: https://trac.webkit.org/r176841 |