Bug 156306

Summary: Move some logic in HTMLVideoElement::webkitSupportsPresentationMode() to HTMLVideoElement::supportsFullscreen()
Product: WebKit Reporter: Ada Chan <adachan>
Component: MediaAssignee: Ada Chan <adachan>
Status: RESOLVED INVALID    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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...