• tonikitoo@webkit.org's avatar
    [BlackBerry] browser video player fullscreen mode (portrait) - out of... · 7a4748f9
    tonikitoo@webkit.org authored
    [BlackBerry] browser video player fullscreen mode (portrait) - out of screen/focus - cannot navigate or use the buttons on the screen (PART I)
    https://bugs.webkit.org/show_bug.cgi?id=88019
    PR #158266
    
    Reviewed by George Staikos.
    Patch by Antonio Gomes <agomes@rim.com>
    
    The way elements go fullscreen with the new FULLSCREEN_API
    is that they get cloned and added to an out-of-DOM wrapper
    element. The wrapper is a normal fixed position element and
    then zoom in/out accordingly to how other layers do: following
    WebPage's scale.
    
    When going fullscreen, we have to take the current WebPage scale
    into account in order to properly fit the element to the screen,
    regardless the web page scale.
    
    * WebCoreSupport/ChromeClientBlackBerry.cpp:
    (WebCore):
    (WebCore::ChromeClientBlackBerry::fullScreenRendererChanged):
    * WebCoreSupport/ChromeClientBlackBerry.h:
    (ChromeClientBlackBerry):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7a4748f9
ChangeLog 207 KB