Replace access ot HTMLMediaElement from MediaPlayerPrivateBlackBerry with...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2012 16:52:20 +0000 (16:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2012 16:52:20 +0000 (16:52 +0000)
commit19918fed3a76ce94288e17527a637ec8d9b53d61
tree8d0ffbfb8989648cadbea0c9dafd08026e4c84ce
parent1329645c64adf0050866207fe448a3bdca022711
    Replace access ot HTMLMediaElement from MediaPlayerPrivateBlackBerry with methods in MediaPlayerClient - updated with notes from initial reviews.  https://bugs.webkit.org/show_bug.cgi?id=84291

        Reviewed by Eric Carlson.

        Code standard compliance - no functional change, so no new tests required.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::mediaPlayerExitFullscreen):
        (WebCore):
        (WebCore::HTMLMediaElement::mediaPlayerIsVideo):
        (WebCore::HTMLMediaElement::mediaPlayerContentBoxRect):
        (WebCore::HTMLMediaElement::mediaPlayerSetSize):
        (WebCore::HTMLMediaElement::mediaPlayerPause):
        (WebCore::HTMLMediaElement::mediaPlayerPlay):
        (WebCore::HTMLMediaElement::mediaPlayerIsPaused):
        (WebCore::HTMLMediaElement::mediaPlayerHostWindow):
        (WebCore::HTMLMediaElement::mediaPlayerWindowClipRect):
        * html/HTMLMediaElement.h:
        (HTMLMediaElement):
        * platform/graphics/MediaPlayer.h:
        (WebCore):
        (WebCore::MediaPlayerClient::mediaPlayerExitFullscreen):
        (WebCore::MediaPlayerClient::mediaPlayerIsVideo):
        (WebCore::MediaPlayerClient::mediaPlayerContentBoxRect):
        (WebCore::MediaPlayerClient::mediaPlayerSetSize):
        (WebCore::MediaPlayerClient::mediaPlayerPause):
        (WebCore::MediaPlayerClient::mediaPlayerPlay):
        (WebCore::MediaPlayerClient::mediaPlayerIsPaused):
        (WebCore::MediaPlayerClient::mediaPlayerHostWindow):
        (WebCore::MediaPlayerClient::mediaPlayerWindowClipRect):
        * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
        (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
        (WebCore::MediaPlayerPrivate::load):
        (WebCore::MediaPlayerPrivate::paint):
        (WebCore::MediaPlayerPrivate::resizeSourceDimensions):
        (WebCore::MediaPlayerPrivate::updateStates):
        (WebCore::MediaPlayerPrivate::onPauseStateChanged):
        (WebCore::MediaPlayerPrivate::onPlayNotified):
        (WebCore::MediaPlayerPrivate::onPauseNotified):
        (WebCore::MediaPlayerPrivate::onAuthenticationNeeded):
        (WebCore::MediaPlayerPrivate::showErrorDialog):
        (WebCore::MediaPlayerPrivate::platformWindow):
        (WebCore::MediaPlayerPrivate::isElementPaused):
        (WebCore::MediaPlayerPrivate::isTabVisible):
        * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
        (MediaPlayerPrivate):

Patch by John Griggs <jgriggs@rim.com> on 2012-08-23

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp
Source/WebCore/html/HTMLMediaElement.h
Source/WebCore/platform/graphics/MediaPlayer.h
Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp
Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h