Skip to content
  • commit-queue@webkit.org's avatar
    [Blackberry] WebKit's fullscreen mode needs to notify page client. · ccd39940
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=87337
    
    Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-05-31
    Reviewed by Antonio Gomes.
    
    Move "fullScreenVideoCapable" into webpagePrivate to make code
    clean for "fullScreenForElement/Node" of cromeClientBlackberry,
    All Video checks and code path selections are in webpagePrivate now.
    For some UX and secure reasons, we could not apply fullscreen capacity
    for all elements, So we use client's fullscreenStart/Stop only for
    those video elements and those elements containing video tags.
    
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::webContext):
    (BlackBerry::WebKit::WebPage::notifyFullScreenVideoExited):
    (WebKit):
    (BlackBerry::WebKit::containsVideoTags):
    (BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement):
    (BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement):
    * Api/WebPageClient.h:
    * Api/WebPage_p.h:
    (WebCore):
    (WebPagePrivate):
    * WebCoreSupport/ChromeClientBlackBerry.cpp:
    (WebCore::ChromeClientBlackBerry::enterFullScreenForElement):
    (WebCore::ChromeClientBlackBerry::exitFullScreenForElement):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ccd39940