- 21 Sep, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=97342 Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-09-21 Reviewed by Yong Li. As platformPlayer will notify MediaPlayerPrivate for size change when loading metadata failed (in this case hasVideo() is false), we should prevent MediaPlayerPrivate to set width and height attribute of media element, otherwise we won't get the correct dimension for the following media sources. Internally reviewed by Max Feil. Test case: media/video-size.html * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::resizeSourceDimensions): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Sep, 2012 1 commit
-
-
commit-queue@webkit.org authored
[BlackBerry] when one of multiple tabs uses authentication, user can get the auth dialog while the other tab has focus. https://bugs.webkit.org/show_bug.cgi?id=95488 PR: 186597. Internally reviewed by Joe Mason. Patch by Lianghui Chen <liachen@rim.com> on 2012-09-07 Reviewed by Yong Li. Source/WebCore: The fix for this PR will come as 2 patches. This is the first patch which will make the authentication challenge asynchronous inside WebKit. The bext patch will add an AuthenticationChallengeManager that manages these authentication requests asynchronously. This patch add AuthenticationChallengeClient interface to define asynchronous authentication challenge callback. And MediaPlayerPrivateBlackBerry and NetworkJob are changed to inherit from AuthenticationChallengeClient to support asynchronous authentication challenge. Note: there is also an accompanying platform patch to make our PlatformPlayer to support asychronous authentication, see PR 186597 for details. No new tests as this is platform specific change. * platform/blackberry/AuthenticationChallengeManager.h: Added. (WebCore): (AuthenticationChallengeClient): * platform/blackberry/PageClientBlackBerry.h: (WebCore): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::onAuthenticationNeeded): (WebCore::MediaPlayerPrivate::notifyChallengeResult): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): * platform/network/blackberry/NetworkJob.cpp: (WebCore::NetworkJob::sendRequestWithCredentials): (WebCore::NetworkJob::notifyChallengeResult): (WebCore): * platform/network/blackberry/NetworkJob.h: (WebCore): (NetworkJob): Source/WebKit/blackberry: Use new AuthenticationChallengeClient interface to make authentication challenge asynchronous to NetworkJob, MediaPlayerPrivateBlackBerry, and other module that will use HTTP authentication. WebPage itself still use synchronous authentication though. Switching to asynchronous authentication in WebPage will require bigger platform layer change and not very necessary at the moment for this bug. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::authenticationChallenge): * Api/WebPage_p.h: (WebCore): (WebPagePrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 24 Aug, 2012 1 commit
-
-
commit-queue@webkit.org authored
[BlackBerry] Changes resulting from moving application directory methods from platform client to platform settings. https://bugs.webkit.org/show_bug.cgi?id=94249 Patch by Parth Patel <parpatel@rim.com> on 2012-08-24 Reviewed by Rob Buis. Source/WebCore: PR 170160 Changes in response to Application Directory methods moved from Class BlackBerryPlatformClient to BlackBerryPlatformSettings in platform respository since these methods are more appropriate in class BlackBerryPlatformSettings. No new tests as there are no logical modifications. * platform/blackberry/CookieManager.cpp: (WebCore::CookieManager::CookieManager): * platform/blackberry/FileSystemBlackBerry.cpp: (WebCore::homeDirectoryPath): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::load): * platform/network/blackberry/AutofillBackingStore.cpp: (WebCore::autofillBackingStore): * platform/network/blackberry/CredentialBackingStore.cpp: (WebCore::credentialBackingStore): * platform/network/blackberry/NetworkJob.cpp: (WebCore::NetworkJob::sendRequestWithCredentials): * plugins/PluginDatabase.cpp: (WebCore::PluginDatabase::isPreferredPluginDirectory): Source/WebKit/blackberry: PR# 170160 Changes in response to Application Directory methods moved from Class BlackBerryPlatformClient to BlackBerryPlatformSettings in platform respository since these methods are more appropriate in class BlackBerryPlatformSettings. * WebCoreSupport/IconDatabaseClientBlackBerry.cpp: (WebCore::IconDatabaseClientBlackBerry::initIconDatabase): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Aug, 2012 2 commits
-
-
commit-queue@webkit.org authored
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: http://svn.webkit.org/repository/webkit/trunk@126441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=94791 PR #195866 Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-08-23 Reviewed by George Staikos. Re-implement MediaPlayerPrivate::paintCurrentFrameInContext() in the blackberry port. This method is mainly called from <canvas>, and it is supposed to paint video frames using software rendering path. On the other hand, MediaPlayerPrivate::paint() will choose accelerated rendering if possible. media/video-canvas-alpha.html covers this. * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::paint): (WebCore): (WebCore::MediaPlayerPrivate::paintCurrentFrameInContext): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Aug, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=94591 Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-08-21 Reviewed by George Staikos. Implement getUserMedia feature using the platform API. Source/WebCore: Tests in fast/mediastream cover this. PR #153571 Reviewed internally by George Staikos. * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::toWebMediaStreamSource): (WebCore): (WebCore::toWebMediaStreamDescriptor): (WebCore::MediaPlayerPrivate::lookupMediaStream): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): Source/WebKit/blackberry: PR #153571 Reviewed internally by George Staikos. * WebCoreSupport/UserMediaClientImpl.cpp: (WebCore): (WebCore::userMediaRequestsMap): (WebCore::toMediaStreamSource): (WebCore::toMediaStreamDescriptor): (WebUserMediaRequestClientImpl): (WebCore::WebUserMediaRequestClientImpl::WebUserMediaRequestClientImpl): (WebCore::WebUserMediaRequestClientImpl::requestSucceeded): (WebCore::WebUserMediaRequestClientImpl::requestFailed): (WebCore::UserMediaClientImpl::UserMediaClientImpl): (WebCore::UserMediaClientImpl::~UserMediaClientImpl): (WebCore::UserMediaClientImpl::requestUserMedia): (WebCore::UserMediaClientImpl::cancelUserMediaRequest): (WebCore::UserMediaClientImpl::webUserMedia): * WebCoreSupport/UserMediaClientImpl.h: (BlackBerry): (Platform): (UserMediaClientImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Aug, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=94329 PR #194237 Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-08-20 Reviewed by Antonio Gomes. The interface to platform's media player has changed from MMRPlayer to PlatformPlayer. This patch adapts to this change. And we also decided to postpone the creation of PlatformPlayer until the loading started. This is needed because we may create different types of player for different media sources. This is a refactor, no new tests. * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::getSupportedTypes): (WebCore::MediaPlayerPrivate::supportsType): (WebCore::MediaPlayerPrivate::notifyAppActivatedEvent): (WebCore::MediaPlayerPrivate::setCertificatePath): (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::load): (WebCore::MediaPlayerPrivate::cancelLoad): (WebCore::MediaPlayerPrivate::prepareToPlay): (WebCore::MediaPlayerPrivate::play): (WebCore::MediaPlayerPrivate::pause): (WebCore::MediaPlayerPrivate::naturalSize): (WebCore::MediaPlayerPrivate::hasVideo): (WebCore::MediaPlayerPrivate::hasAudio): (WebCore::MediaPlayerPrivate::duration): (WebCore::MediaPlayerPrivate::currentTime): (WebCore::MediaPlayerPrivate::seek): (WebCore::MediaPlayerPrivate::setRate): (WebCore::MediaPlayerPrivate::paused): (WebCore::MediaPlayerPrivate::setVolume): (WebCore::MediaPlayerPrivate::maxTimeSeekable): (WebCore::MediaPlayerPrivate::buffered): (WebCore::MediaPlayerPrivate::paint): (WebCore::MediaPlayerPrivate::hasAvailableVideoFrame): (WebCore::MediaPlayerPrivate::movieLoadType): (WebCore::MediaPlayerPrivate::setAllowPPSVolumeUpdates): (WebCore::MediaPlayerPrivate::updateStates): (WebCore): (WebCore::MediaPlayerPrivate::onStateChanged): (WebCore::MediaPlayerPrivate::onMediaStatusChanged): (WebCore::MediaPlayerPrivate::onError): (WebCore::MediaPlayerPrivate::waitMetadataTimerFired): (WebCore::MediaPlayerPrivate::showErrorDialog): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Aug, 2012 1 commit
-
-
commit-queue@webkit.org authored
[BlackBerry] use MediaPlayer::userAgent() in MediaPlayerPrivateBlackBerry to avoid layering violation https://bugs.webkit.org/show_bug.cgi?id=93588 Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-08-12 Reviewed by Antonio Gomes. Removed helper function MediaPlayerPrivate::userAgent() which has introduced abstraction layering violation and replaced with MediaPlayer::userAgent(). No new tests since there's no functional change. * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::load): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125388 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Jul, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=91689 Patch by Max Feil <mfeil@rim.com> on 2012-07-19 Reviewed by Antonio Gomes. The hole punch rectangle needs to be present if and only if html5 video content is being rendered. Otherwise unwanted content may show through from behind the browser tab's window. I am not adding any new tests because the difficulty of testing for this case outweighs the benefit. * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::updateStates): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Jun, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=89514 Patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> on 2012-06-22 Reviewed by Eric Carlson. No new tests since there's no change on code behavior. When a blob is created as the address for a Media Stream, the MediaEngine will ask it's players if they support that media. However, a player built for MediaStream needs to know to URL to decide if it's supported or not. * dom/DOMImplementation.cpp: (WebCore::DOMImplementation::createDocument): * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::canPlayType): (WebCore::HTMLMediaElement::selectNextSourceChild): * html/HTMLMediaElement.h: * platform/graphics/MediaPlayer.cpp: (MediaPlayerFactory): (WebCore::MediaPlayerFactory::MediaPlayerFactory): (WebCore): (WebCore::textPlain): (WebCore::bestMediaEngineForTypeAndCodecs): (WebCore::MediaPlayer::load): (WebCore::MediaPlayer::loadWithNextMediaEngine): (WebCore::MediaPlayer::paint): (WebCore::MediaPlayer::supportsType): * platform/graphics/MediaPlayer.h: (WebCore): * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: (WebCore::MediaPlayerPrivateAVFoundationCF::supportsType): * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h: (MediaPlayerPrivateAVFoundationCF): * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: (MediaPlayerPrivateAVFoundationObjC): * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::supportsType): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::supportsType): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: (MediaPlayerPrivateGStreamer): * platform/graphics/mac/MediaPlayerPrivateQTKit.h: (MediaPlayerPrivateQTKit): * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::supportsType): * platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::supportsType): * platform/graphics/qt/MediaPlayerPrivateQt.h: (MediaPlayerPrivateQt): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: (WebCore::MediaPlayerPrivateQuickTimeVisualContext::supportsType): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h: (MediaPlayerPrivateQuickTimeVisualContext): * platform/graphics/wince/MediaPlayerPrivateWinCE.h: (MediaPlayerPrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Jun, 2012 2 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=88732 Patch by Max Feil <mfeil@rim.com> on 2012-06-11 Reviewed by Antonio Gomes. There is a problem with the way the m_userDrivenSeekTimer is implemented. When MediaPlayerPrivate::seek() is called, there is always a 100ms delay even if the timer is not running. The timer is supposed to space out (i.e. throttle) repeated seeks that come in too soon after a previous seek, but currently it is slowing down even single seeks and seeks that come in with adequate delay after a previous seek. I fixed this in my patch by improving the way the timer fired function is called. A note on the new m_lastSeekTimePending flag: This flag is needed so that userDrivenSeekTimerFired() knows whether or not to perform the seek. The only case where this flag will not be set is if no MediaPlayerPrivate::seek() call came in while the timer was active, in which case it's important to do nothing. I could encode this flag's information into the m_lastSeekTime float, for example by initializing it and resetting it to NAN and using isnan(). But I feel that using a separate bool is a more portable approach. No new tests. I would like to propose not including a layout test with this fix. Doing timing tests for 100ms delays is tricky from Javascript, and I don't think the benefit of such a test outweighs the extra time it would take to develop one. The test would also be a problem to maintain as it may give different results over different runs and across different target hardware. * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::seek): (WebCore::MediaPlayerPrivate::userDrivenSeekTimerFired): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=88733 Patch by Max Feil <mfeil@rim.com> on 2012-06-11 Reviewed by Antonio Gomes. Source/WebCore: The m_userDrivenSeekTimer is causing unwanted repeats of short media such as sound effects because it is causing the current time to not reflect that the media has finished playing. This problem only affects media whose duration is close to or less than the SeekSubmissionDelay, which is currently set to 100ms. My fix is to ignore the userDrivenSeekTimer in MediaPlayerPrivate::currentTime() if the duration of the media is within twice the SeekSubmissionDelay. Seek drag smoothness is a non-issue for such short media. Test: platform/blackberry/media/short-media-repeats-correctly.html * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): (WebCore): (WebCore::MediaPlayerPrivate::currentTime): (WebCore::MediaPlayerPrivate::seek): (WebCore::MediaPlayerPrivate::userDrivenSeekTimerFired): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): LayoutTests: Test for problem where short media repeats unintentionally. * media/content/short.wav: Added. * platform/blackberry/media/short-media-repeats-correctly-expected.txt: Added. * platform/blackberry/media/short-media-repeats-correctly.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 31 May, 2012 3 commits
-
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/119146 https://bugs.webkit.org/show_bug.cgi?id=88035 android breakage fixed in http://crrev.com/139945 (Requested by fischman on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-31 Source/WebCore: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::startProgressEventTimer): (WebCore::HTMLMediaElement::changeNetworkStateFromLoadingToIdle): (WebCore::HTMLMediaElement::progressEventTimerFired): (WebCore::HTMLMediaElement::startPlaybackProgressTimer): * platform/graphics/MediaPlayer.cpp: (WebCore::NullMediaPlayerPrivate::didLoadingProgress): (WebCore::MediaPlayer::didLoadingProgress): * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: (MediaPlayerPrivateInterface): * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation): (WebCore::MediaPlayerPrivateAVFoundation::didLoadingProgress): * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: (MediaPlayerPrivateAVFoundation): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::didLoadingProgress): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer): (WebCore::MediaPlayerPrivateGStreamer::didLoadingProgress): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: (MediaPlayerPrivateGStreamer): * platform/graphics/mac/MediaPlayerPrivateQTKit.h: (MediaPlayerPrivateQTKit): * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit): (WebCore::MediaPlayerPrivateQTKit::didLoadingProgress): * platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt): (WebCore::MediaPlayerPrivateQt::didLoadingProgress): * platform/graphics/qt/MediaPlayerPrivateQt.h: (MediaPlayerPrivateQt): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: (WebCore::MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext): (WebCore::MediaPlayerPrivateQuickTimeVisualContext::didLoadingProgress): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h: (MediaPlayerPrivateQuickTimeVisualContext): * platform/graphics/wince/MediaPlayerPrivateWinCE.h: (MediaPlayerPrivate): Source/WebKit/chromium: * public/WebMediaPlayer.h: (WebMediaPlayer): * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::didLoadingProgress): * src/WebMediaPlayerClientImpl.h: (WebMediaPlayerClientImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rafaelw@chromium.org authored
http://trac.webkit.org/changeset/119125 https://bugs.webkit.org/show_bug.cgi?id=88007 Will break android build if rolled (Requested by rafaelw_ on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-31 Source/WebCore: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::startProgressEventTimer): (WebCore::HTMLMediaElement::changeNetworkStateFromLoadingToIdle): (WebCore::HTMLMediaElement::progressEventTimerFired): (WebCore::HTMLMediaElement::startPlaybackProgressTimer): * platform/graphics/MediaPlayer.cpp: (WebCore::NullMediaPlayerPrivate::bytesLoaded): (WebCore::MediaPlayer::bytesLoaded): * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: (MediaPlayerPrivateInterface): * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation): (WebCore::MediaPlayerPrivateAVFoundation::bytesLoaded): * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: (MediaPlayerPrivateAVFoundation): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::bytesLoaded): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer): (WebCore::MediaPlayerPrivateGStreamer::bytesLoaded): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: (MediaPlayerPrivateGStreamer): * platform/graphics/mac/MediaPlayerPrivateQTKit.h: (MediaPlayerPrivateQTKit): * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit): (WebCore::MediaPlayerPrivateQTKit::bytesLoaded): * platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt): (WebCore::MediaPlayerPrivateQt::bytesLoaded): * platform/graphics/qt/MediaPlayerPrivateQt.h: (MediaPlayerPrivateQt): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: (WebCore::MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext): (WebCore::MediaPlayerPrivateQuickTimeVisualContext::bytesLoaded): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h: (MediaPlayerPrivateQuickTimeVisualContext): * platform/graphics/wince/MediaPlayerPrivateWinCE.h: (MediaPlayerPrivate): Source/WebKit/chromium: * public/WebMediaPlayer.h: (WebMediaPlayer): * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::bytesLoaded): * src/WebMediaPlayerClientImpl.h: (WebMediaPlayerClientImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fischman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=86113 Reviewed by Eric Carlson. Source/WebCore: No new functionality, so no new tests. Loading progress is already tested by existing layouttests. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::startProgressEventTimer): (WebCore::HTMLMediaElement::changeNetworkStateFromLoadingToIdle): (WebCore::HTMLMediaElement::progressEventTimerFired): (WebCore::HTMLMediaElement::startPlaybackProgressTimer): * platform/graphics/MediaPlayer.cpp: (WebCore::NullMediaPlayerPrivate::didLoadingProgress): (WebCore::MediaPlayer::didLoadingProgress): * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: (MediaPlayerPrivateInterface): * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation): * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: (MediaPlayerPrivateAVFoundation): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::didLoadingProgress): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer): (WebCore::MediaPlayerPrivateGStreamer::didLoadingProgress): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: (MediaPlayerPrivateGStreamer): * platform/graphics/mac/MediaPlayerPrivateQTKit.h: (MediaPlayerPrivateQTKit): * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit): (WebCore::MediaPlayerPrivateQTKit::didLoadingProgress): * platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt): (WebCore::MediaPlayerPrivateQt::didLoadingProgress): * platform/graphics/qt/MediaPlayerPrivateQt.h: (MediaPlayerPrivateQt): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: (WebCore::MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext): (WebCore::MediaPlayerPrivateQuickTimeVisualContext::didLoadingProgress): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h: (MediaPlayerPrivateQuickTimeVisualContext): * platform/graphics/wince/MediaPlayerPrivateWinCE.h: (MediaPlayerPrivate): Source/WebKit/chromium: * public/WebMediaPlayer.h: (WebMediaPlayer): * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::didLoadingProgress): * src/WebMediaPlayerClientImpl.h: (WebMediaPlayerClientImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 29 May, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=84214 Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-05-29 Reviewed by George Staikos. .: Added a manual test case which needs user to provide a HTTP server with HTTP authentication support when loading the specified media resource. The test case will test if the media resource is successfully loaded. * ManualTests/blackberry/video-load-with-authentication.html: Added. Source/WebCore: RIM PR: 117618 Implemented http authentication feature for media by implementing two interface functions in class MediaPlayerPrivate: onAuthenticationNeeded(): this function is triggered when MMR engine requires http authentication. We search the CredentialStorage to see if we have already stored existing credential information, or challenge user to provide it. OnAuthenticationAccepted(): this function is triggered when MMR engine accepts the credential information, and we need to save it in CredentialStorage for later use. Internally reviewed by Max Feil <mfeil@qnx.com>. Manual test case: blackberry/video-load-with-authentication.html * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::generateProtectionSpaceFromMMRAuthChallenge): (WebCore): (WebCore::MediaPlayerPrivate::onAuthenticationNeeded): (WebCore::MediaPlayerPrivate::onAuthenticationAccepted): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 May, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=86235 Patch by Max Feil <mfeil@rim.com> on 2012-05-12 Reviewed by George Staikos. Source/WebCore: The platform media player needs to know when the HTMLMediaElement is not paused. This is to address problems when switching source element, which causes the destruction of the old MediaPlayerPrivate object and construction of a new one. The new one must resume playing ASAP if the old one was playing. Test: media/media-continues-playing-after-replace-source.html * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::isElementPaused): (WebCore): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): LayoutTests: This test replaces the source element of a playing media object and makes sure the new source element begins playing. * media/media-continues-playing-after-replace-source-expected.txt: Added. * media/media-continues-playing-after-replace-source.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 Apr, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=82930 Support for concurrent HTML5 audio improvements being made in the platform library, which need to be aware of tabs and tab visibility. PR96004. Patch by Max Feil <mfeil@rim.com> on 2012-04-18 Reviewed by George Staikos. Test: media/audio-concurrent-supported.html * platform/blackberry/PageClientBlackBerry.h: * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::showErrorDialog): (WebCore::MediaPlayerPrivate::isTabVisible): (WebCore): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): Source/WebKit/blackberry: [BlackBerry] Tab awareness for HTML5 concurrent audio https://bugs.webkit.org/show_bug.cgi?id=82930 Support for concurrent HTML5 audio improvements being made in the platform library, which need to be aware of tabs and tab visibility. PR96004. Patch by Max Feil <mfeil@rim.com> on 2012-04-18 Reviewed by George Staikos. * Api/WebPageClient.h: * Api/WebPage_p.h: (BlackBerry::WebKit::WebPagePrivate::isVisible): LayoutTests: [BlackBerry] Tab awareness for HTML5 concurrent audio https://bugs.webkit.org/show_bug.cgi?id=82930 Layout test for concurrent HTML5 audio. This is a simple test to confirm that multiple audio elements can play at the same time. Patch by Max Feil <mfeil@rim.com> on 2012-04-18 Reviewed by George Staikos. * media/audio-concurrent-supported-expected.txt: Added. * media/audio-concurrent-supported.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Apr, 2012 2 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=80978 Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-04-11 Reviewed by Rob Buis. Source/WebCore: RIM PR: 143471 Implemented the interface function onWaitMetadataNotified() which starts a timer to wait for the metadata retrieving to finish, and pops up a dialog to notify the user what to do if there still is no metadata when the timer fires. This patch also contributed by Max Feil <mfeil@rim.com>. Internally reviewed by Max Feil. Test: http/tests/media/video-throttled-load-metadata.html * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): (WebCore): (WebCore::MediaPlayerPrivate::onWaitMetadataNotified): (WebCore::MediaPlayerPrivate::waitMetadataTimerFired): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): LayoutTests: RIM PR: 143471 Added a layout test which simulates a slow network, and starts a web worker thread to write a log message when retrieving media metadata to see if the webkit thread is blocked by media retrieving thread. * http/tests/media/video-throttled-load-metadata-expected.txt: Added. * http/tests/media/video-throttled-load-metadata-worker.js: Added. * http/tests/media/video-throttled-load-metadata.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=83603 Patch by Joe Mason <jmason@rim.com> on 2012-04-11 Reviewed by Rob Buis. Source/WebCore: RIM PR: 134894 Make the destructors of all objects inheriting GuardedPointerBase protected or private, and delete them using BlackBerry::Platform::deleteGuardedObject. Access all GuardedPointers through GuardedPointerLocker. Use GuardedPointerDeleter to delete LayerCompositingThread to avoid a deadlock. No new tests, refactor. Reviewed internally by Yong Li and George Staikos. * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.cpp: (WebCore::CookieDatabaseBackingStore::~CookieDatabaseBackingStore): * platform/blackberry/CookieManager.h: * platform/graphics/blackberry/LayerCompositingThread.cpp: * platform/graphics/blackberry/LayerCompositingThread.h: (LayerCompositingThread): (WTF::::deref): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate): Source/WebKit/blackberry: RIM PR: 134984 Make the destructors of all objects inheriting GuardedPointerBase protected or private, and delete them using BlackBerry::Platform::deleteGuardedObject. Access all GuardedPointers through GuardedPointerLocker. No new tests, refactor. Reviewed internally by Yong Li and George Staikos. * Api/BackingStore.cpp: (BlackBerry::WebKit::BackingStore::~BackingStore): * Api/BackingStore_p.h: (BackingStorePrivate): * Api/WebPage.cpp: (BlackBerry::WebKit::WebPage::~WebPage): (BlackBerry::WebKit::WebPage::destroy): * Api/WebPage.h: * Api/WebPage_p.h: (WebPagePrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 26 Mar, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=82058 Patch by Filip Spacek <fspacek@rim.com> on 2012-03-26 Reviewed by Rob Buis. * platform/graphics/blackberry/CanvasLayerWebKitThread.cpp: (WebCore::CanvasLayerWebKitThread::CanvasLayerWebKitThread): (WebCore::CanvasLayerWebKitThread::~CanvasLayerWebKitThread): (WebCore::CanvasLayerWebKitThread::setDevice): (WebCore::CanvasLayerWebKitThread::updateTextureContentsIfNeeded): * platform/graphics/blackberry/CanvasLayerWebKitThread.h: (WebCore::CanvasLayerWebKitThread::create): (CanvasLayerWebKitThread): * platform/graphics/blackberry/InstrumentedPlatformCanvas.h: (WebCore::InstrumentedPlatformCanvas::InstrumentedPlatformCanvas): (WebCore::InstrumentedPlatformCanvas::save): (WebCore::InstrumentedPlatformCanvas::saveLayer): (WebCore::InstrumentedPlatformCanvas::restore): (WebCore::InstrumentedPlatformCanvas::translate): (WebCore::InstrumentedPlatformCanvas::scale): (WebCore::InstrumentedPlatformCanvas::rotate): (WebCore::InstrumentedPlatformCanvas::skew): (WebCore::InstrumentedPlatformCanvas::concat): (WebCore::InstrumentedPlatformCanvas::setMatrix): (WebCore::InstrumentedPlatformCanvas::clipRect): (WebCore::InstrumentedPlatformCanvas::clipPath): (WebCore::InstrumentedPlatformCanvas::clipRegion): (WebCore::InstrumentedPlatformCanvas::clear): (WebCore::InstrumentedPlatformCanvas::drawPaint): (WebCore::InstrumentedPlatformCanvas::drawPoints): (WebCore::InstrumentedPlatformCanvas::drawRect): (WebCore::InstrumentedPlatformCanvas::drawPath): (WebCore::InstrumentedPlatformCanvas::drawBitmap): (WebCore::InstrumentedPlatformCanvas::drawBitmapRect): (WebCore::InstrumentedPlatformCanvas::drawBitmapMatrix): (WebCore::InstrumentedPlatformCanvas::drawSprite): (WebCore::InstrumentedPlatformCanvas::drawText): (WebCore::InstrumentedPlatformCanvas::drawPosText): (WebCore::InstrumentedPlatformCanvas::drawPosTextH): (WebCore::InstrumentedPlatformCanvas::drawTextOnPath): (WebCore::InstrumentedPlatformCanvas::drawPicture): (WebCore::InstrumentedPlatformCanvas::drawVertices): (WebCore::InstrumentedPlatformCanvas::drawData): * platform/graphics/blackberry/LayerData.h: (WebCore::LayerData::LayerData): (WebCore::LayerData::needsTexture): (LayerData): * platform/graphics/blackberry/LayerTiler.cpp: (WebCore::LayerTiler::updateTextureContentsIfNeeded): * platform/graphics/blackberry/LayerWebKitThread.cpp: (WebCore::LayerWebKitThread::paintContents): (WebCore::LayerWebKitThread::setDrawable): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::loadBufferingImageData): * platform/graphics/blackberry/skia/ImageBufferDataSkia.h: Renamed from Source/WebCore/platform/graphics/blackberry/skia/ImageBufferData.h. (WebCore): (ImageBufferData): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Mar, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=79729 Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-03-04 Reviewed by Rob Buis and Antonio Gomes. Implementation of MediaPlayerPrivate for BlackBerry porting. Initial upstream, No new tests. * PlatformBlackBerry.cmake: * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: Added. (WebCore): (WebCore::MediaPlayerPrivate::create): (WebCore::MediaPlayerPrivate::registerMediaEngine): (WebCore::MediaPlayerPrivate::getSupportedTypes): (WebCore::MediaPlayerPrivate::supportsType): (WebCore::MediaPlayerPrivate::notifyAppActivatedEvent): (WebCore::MediaPlayerPrivate::setCertificatePath): (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::load): (WebCore::MediaPlayerPrivate::cancelLoad): (WebCore::MediaPlayerPrivate::prepareToPlay): (WebCore::MediaPlayerPrivate::play): (WebCore::MediaPlayerPrivate::pause): (WebCore::MediaPlayerPrivate::supportsFullscreen): (WebCore::MediaPlayerPrivate::naturalSize): (WebCore::MediaPlayerPrivate::hasVideo): (WebCore::MediaPlayerPrivate::hasAudio): (WebCore::MediaPlayerPrivate::setVisible): (WebCore::MediaPlayerPrivate::duration): (WebCore::MediaPlayerPrivate::currentTime): (WebCore::MediaPlayerPrivate::seek): (WebCore::MediaPlayerPrivate::userDrivenSeekTimerFired): (WebCore::MediaPlayerPrivate::seeking): (WebCore::MediaPlayerPrivate::setRate): (WebCore::MediaPlayerPrivate::paused): (WebCore::MediaPlayerPrivate::setVolume): (WebCore::MediaPlayerPrivate::networkState): (WebCore::MediaPlayerPrivate::readyState): (WebCore::MediaPlayerPrivate::maxTimeSeekable): (WebCore::MediaPlayerPrivate::buffered): (WebCore::MediaPlayerPrivate::bytesLoaded): (WebCore::MediaPlayerPrivate::setSize): (WebCore::MediaPlayerPrivate::paint): (WebCore::MediaPlayerPrivate::hasAvailableVideoFrame): (WebCore::MediaPlayerPrivate::hasSingleSecurityOrigin): (WebCore::MediaPlayerPrivate::movieLoadType): (WebCore::MediaPlayerPrivate::userAgent): (WebCore::MediaPlayerPrivate::resizeSourceDimensions): (WebCore::MediaPlayerPrivate::setFullscreenWebPageClient): (WebCore::MediaPlayerPrivate::getWindow): (WebCore::MediaPlayerPrivate::getPeerWindow): (WebCore::MediaPlayerPrivate::getWindowPosition): (WebCore::MediaPlayerPrivate::mmrContextName): (WebCore::MediaPlayerPrivate::percentLoaded): (WebCore::MediaPlayerPrivate::sourceWidth): (WebCore::MediaPlayerPrivate::sourceHeight): (WebCore::MediaPlayerPrivate::setAllowPPSVolumeUpdates): (WebCore::MediaPlayerPrivate::updateStates): (WebCore::MediaPlayerPrivate::onStateChanged): (WebCore::MediaPlayerPrivate::onMediaStatusChanged): (WebCore::MediaPlayerPrivate::onError): (WebCore::MediaPlayerPrivate::onDurationChanged): (WebCore::MediaPlayerPrivate::onTimeChanged): (WebCore::MediaPlayerPrivate::onPauseStateChanged): (WebCore::MediaPlayerPrivate::onRateChanged): (WebCore::MediaPlayerPrivate::onVolumeChanged): (WebCore::MediaPlayerPrivate::onRepaint): (WebCore::MediaPlayerPrivate::onSizeChanged): (WebCore::MediaPlayerPrivate::onPlayNotified): (WebCore::MediaPlayerPrivate::onPauseNotified): (WebCore::MediaPlayerPrivate::onBuffering): (WebCore::MediaPlayerPrivate::showErrorDialog): (WebCore::MediaPlayerPrivate::frameView): (WebCore::MediaPlayerPrivate::platformWindow): (WebCore::MediaPlayerPrivate::isFullscreen): (WebCore::MediaPlayerPrivate::platformMedia): (WebCore::MediaPlayerPrivate::platformLayer): (WebCore::loadBufferingImageData): (WebCore::MediaPlayerPrivate::bufferingTimerFired): (WebCore::MediaPlayerPrivate::setBuffering): (WebCore::allocateTextureId): (WebCore::MediaPlayerPrivate::drawBufferingAnimation): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: Added. (WebKit): (WebCore): (MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::supportsAcceleratedRendering): (WebCore::MediaPlayerPrivate::acceleratedRenderingStateChanged): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-