• eric.carlson@apple.com's avatar
    2010-02-01 Eric Carlson <eric.carlson@apple.com> · 6e10cee3
    eric.carlson@apple.com authored
            Reviewed by Adele Peterson.
    
            Fullscreen API should be on HTMLVideoElement
            https://bugs.webkit.org/show_bug.cgi?id=34438
            
            Move fullscreen DOM APIs from HTMLMediaElement to HTMLVideoElement.
    
            * html/HTMLMediaElement.cpp:
            * html/HTMLMediaElement.h:
            * html/HTMLMediaElement.idl:
            * html/HTMLVideoElement.cpp:
            (WebCore::HTMLVideoElement::paint): Removed outdated FIXME.
            (WebCore::HTMLVideoElement::paintCurrentFrameInContext): Ditto.
            (WebCore::HTMLVideoElement::webkitEnterFullScreen): Moved from HTMLMediaElement.
            (WebCore::HTMLVideoElement::webkitExitFullScreen): Ditto.
            (WebCore::HTMLVideoElement::webkitSupportsFullscreen): Ditto.
            (WebCore::HTMLVideoElement::webkitDisplayingFullscreen): Ditto.
            * html/HTMLVideoElement.h:
            * html/HTMLVideoElement.idl:
    
    2010-02-01  Eric Carlson  <eric.carlson@apple.com>
    
            Reviewed by Adele Peterson.
    
            Fullscreen API should be on HTMLVideoElement
            https://bugs.webkit.org/show_bug.cgi?id=34438
    
            Update fullscreen tests now that <audio> doesn't have fullscreen API.
    
            * fast/dom/Window/window-properties-expected.txt:
            * media/media-fullscreen-inline-expected.txt:
            * media/media-fullscreen-not-in-document-expected.txt:
            * media/media-fullscreen.js:
            (buttonClickHandler):
            (canplaythrough):
    
    
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@54143 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    6e10cee3
media-fullscreen-inline-expected.txt 1.87 KB