diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h')
-rw-r--r-- | Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h b/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h index 2629e04f6..7b6654dce 100644 --- a/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h +++ b/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h @@ -39,12 +39,12 @@ public: static PassOwnPtr<MediaPlayerPrivateInterface> create(MediaPlayer*); static void registerMediaEngine(MediaEngineRegistrar); - static void getSupportedTypes(HashSet<String>&); - static MediaPlayer::SupportsType supportsType(const String&, const String&, const KURL&); + static void getSupportedTypes(HashSet<WTF::String>&); + static MediaPlayer::SupportsType supportsType(const WTF::String&, const WTF::String&, const KURL&); static void notifyAppActivatedEvent(bool); - static void setCertificatePath(const String&); + static void setCertificatePath(const WTF::String&); - virtual void load(const String& url); + virtual void load(const WTF::String& url); virtual void cancelLoad(); virtual void prepareToPlay(); @@ -143,15 +143,15 @@ public: virtual bool isTabVisible() const; virtual int showErrorDialog(BlackBerry::Platform::PlatformPlayer::Error); virtual BlackBerry::Platform::Graphics::Window* platformWindow(); - virtual BlackBerry::Platform::WebMediaStreamDescriptor lookupMediaStream(const std::string& url); + virtual BlackBerry::Platform::WebMediaStreamDescriptor lookupMediaStream(const BlackBerry::Platform::String& url); private: MediaPlayerPrivate(MediaPlayer*); void updateStates(); - String userAgent(const String&) const; + WTF::String userAgent(const WTF::String&) const; - virtual String engineDescription() const { return "BlackBerry"; } + virtual WTF::String engineDescription() const { return "BlackBerry"; } MediaPlayer* m_webCorePlayer; BlackBerry::Platform::PlatformPlayer* m_platformPlayer; @@ -174,6 +174,7 @@ private: Timer<MediaPlayerPrivate> m_userDrivenSeekTimer; float m_lastSeekTime; bool m_lastSeekTimePending; + bool m_isAuthenticationChallenging; void waitMetadataTimerFired(Timer<MediaPlayerPrivate>*); Timer<MediaPlayerPrivate> m_waitMetadataTimer; int m_waitMetadataPopDialogCounter; |