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   

Ada Chan
Reported 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().
Attachments
Ada Chan
Comment 1 2016-04-06 13:29:06 PDT
Ada Chan
Comment 2 2016-04-06 13:43:12 PDT
Retreating this...
Note You need to log in before you can comment on or make changes to this bug.