| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2009 Google Inc. All rights reserved. | 2  * Copyright (C) 2009 Google Inc. All rights reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions are | 5  * modification, are permitted provided that the following conditions are | 
| 6  * met: | 6  * met: | 
| 7  * | 7  * | 
| 8  *     * Redistributions of source code must retain the above copyright | 8  *     * Redistributions of source code must retain the above copyright | 
| 9  * notice, this list of conditions and the following disclaimer. | 9  * notice, this list of conditions and the following disclaimer. | 
| 10  *     * Redistributions in binary form must reproduce the above | 10  *     * Redistributions in binary form must reproduce the above | 
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 91     virtual void removeVideoTrack(WebMediaPlayer::TrackId) OVERRIDE; | 91     virtual void removeVideoTrack(WebMediaPlayer::TrackId) OVERRIDE; | 
| 92     virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE; | 92     virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE; | 
| 93     virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE; | 93     virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE; | 
| 94     virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; | 94     virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; | 
| 95     virtual void requestFullscreen() OVERRIDE; | 95     virtual void requestFullscreen() OVERRIDE; | 
| 96     virtual void requestSeek(double) OVERRIDE; | 96     virtual void requestSeek(double) OVERRIDE; | 
| 97 | 97 | 
| 98     // MediaPlayer methods: | 98     // MediaPlayer methods: | 
| 99     virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; | 99     virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; | 
| 100     virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia
     Player::CORSMode) OVERRIDE; | 100     virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia
     Player::CORSMode) OVERRIDE; | 
| 101     virtual void play() OVERRIDE; |  | 
| 102     virtual void pause() OVERRIDE; |  | 
| 103     virtual bool supportsSave() const OVERRIDE; |  | 
| 104     virtual double duration() const OVERRIDE; | 101     virtual double duration() const OVERRIDE; | 
| 105     virtual double currentTime() const OVERRIDE; | 102     virtual double currentTime() const OVERRIDE; | 
| 106     virtual void seek(double time) OVERRIDE; | 103     virtual void seek(double time) OVERRIDE; | 
| 107     virtual bool seeking() const OVERRIDE; | 104     virtual bool seeking() const OVERRIDE; | 
| 108     virtual bool paused() const OVERRIDE; |  | 
| 109     virtual void setPoster(const WebCore::KURL&) OVERRIDE; | 105     virtual void setPoster(const WebCore::KURL&) OVERRIDE; | 
| 110     virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; | 106     virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; | 
| 111     virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR
     IDE; | 107     virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR
     IDE; | 
| 112     virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo
     rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul
     tiplyAlpha, bool flipY) OVERRIDE; | 108     virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo
     rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul
     tiplyAlpha, bool flipY) OVERRIDE; | 
| 113     virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; | 109     virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; | 
| 114     virtual bool hasSingleSecurityOrigin() const OVERRIDE; |  | 
| 115     virtual double mediaTimeForTimeValue(double timeValue) const OVERRIDE; |  | 
| 116 | 110 | 
| 117 #if ENABLE(WEB_AUDIO) | 111 #if ENABLE(WEB_AUDIO) | 
| 118     virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; | 112     virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; | 
| 119 #endif | 113 #endif | 
| 120 | 114 | 
| 121 private: | 115 private: | 
| 122     explicit WebMediaPlayerClientImpl(WebCore::MediaPlayerClient*); | 116     explicit WebMediaPlayerClientImpl(WebCore::MediaPlayerClient*); | 
| 123 | 117 | 
| 124     WebCore::HTMLMediaElement& mediaElement() const; | 118     WebCore::HTMLMediaElement& mediaElement() const; | 
| 125 | 119 | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 181         Mutex provideInputLock; | 175         Mutex provideInputLock; | 
| 182     }; | 176     }; | 
| 183 | 177 | 
| 184     AudioSourceProviderImpl m_audioSourceProvider; | 178     AudioSourceProviderImpl m_audioSourceProvider; | 
| 185 #endif | 179 #endif | 
| 186 }; | 180 }; | 
| 187 | 181 | 
| 188 } // namespace blink | 182 } // namespace blink | 
| 189 | 183 | 
| 190 #endif | 184 #endif | 
| OLD | NEW | 
|---|