Bug 138787 - [iOS] allow host application to opt-out of alternate fullscreen
Summary: [iOS] allow host application to opt-out of alternate fullscreen
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-11-16 19:32 PST by Eric Carlson
Modified: 2014-11-18 14:13 PST (History)
10 users (show)

See Also:


Attachments
Proposed patch. (17.51 KB, patch)
2014-11-16 19:48 PST, Eric Carlson
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2014-11-16 19:32:42 PST
Allow the host application to enable/disable alternate ("optimized") fullscreen mode.
Comment 1 Eric Carlson 2014-11-16 19:35:16 PST
<rdar://problem/18687640>
Comment 2 Eric Carlson 2014-11-16 19:48:54 PST
Created attachment 241686 [details]
Proposed patch.
Comment 3 WebKit Commit Bot 2014-11-16 19:51:08 PST
Attachment 241686 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 20 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Darin Adler 2014-11-16 20:13:01 PST
Comment on attachment 241686 [details]
Proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=241686&action=review

> Source/WebCore/ChangeLog:8
> +        No new tests (OOPS!).

You’ll have to remove this line. Or replace it with an explanation of why we didn’t add a test for this.
Comment 5 Eric Carlson 2014-11-17 06:07:43 PST
Committed r176199: https://trac.webkit.org/r176199
Comment 6 mitz 2014-11-17 07:17:20 PST
Comment on attachment 241686 [details]
Proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=241686&action=review

> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h:108
> +@property (nonatomic) BOOL allowsAlternateFullscreen;

This new API is missing an availability annotation. It should be WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA).
Comment 7 Eric Carlson 2014-11-18 14:12:41 PST
(In reply to comment #6)
> Comment on attachment 241686 [details]
> Proposed patch.
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=241686&action=review
> 
> > Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h:108
> > +@property (nonatomic) BOOL allowsAlternateFullscreen;
> 
> This new API is missing an availability annotation. It should be
> WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA).

Thanks for the reminder. Upon reflection this doesn't need to be public, so I will move it into the private header.
Comment 8 Eric Carlson 2014-11-18 14:13:01 PST
Committed r176283: https://trac.webkit.org/r176283