Bug 156306 - Move some logic in HTMLVideoElement::webkitSupportsPresentationMode() to HTMLVideoElement::supportsFullscreen()
Summary: Move some logic in HTMLVideoElement::webkitSupportsPresentationMode() to HTML...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ada Chan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-04-06 13:28 PDT by Ada Chan
Modified: 2016-04-06 13:43 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ada Chan 2016-04-06 13:28:36 PDT
Move some logic in HTMLVideoElement::webkitSupportsPresentationMode() to HTMLVideoElement::supportsFullscreen(). This way the logic to check for presentation mode is centralized in one place and we can simplify some code in HTMLVideoElement::webkitEnterFullscreen() and HTMLVideoElement::setFullscreenMode().
Comment 1 Ada Chan 2016-04-06 13:29:06 PDT
Related to <rdar://problem/25303855>.
Comment 2 Ada Chan 2016-04-06 13:43:12 PDT
Retreating this...