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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 double duration() const OVERRIDE; | 101 virtual double duration() const OVERRIDE; |
102 virtual double currentTime() const OVERRIDE; | 102 virtual double currentTime() const OVERRIDE; |
103 virtual void seek(double time) OVERRIDE; | 103 virtual void seek(double time) OVERRIDE; |
104 virtual bool seeking() const OVERRIDE; | 104 virtual bool seeking() const OVERRIDE; |
105 virtual void setPoster(const WebCore::KURL&) OVERRIDE; | 105 virtual void setPoster(const WebCore::KURL&) OVERRIDE; |
106 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; | |
107 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR
IDE; | 106 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR
IDE; |
108 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo
rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul
tiplyAlpha, bool flipY) OVERRIDE; | 107 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo
rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul
tiplyAlpha, bool flipY) OVERRIDE; |
109 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; | 108 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; |
110 | 109 |
111 #if ENABLE(WEB_AUDIO) | 110 #if ENABLE(WEB_AUDIO) |
112 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; | 111 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; |
113 #endif | 112 #endif |
114 | 113 |
115 private: | 114 private: |
116 explicit WebMediaPlayerClientImpl(WebCore::MediaPlayerClient*); | 115 explicit WebMediaPlayerClientImpl(WebCore::MediaPlayerClient*); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 Mutex provideInputLock; | 174 Mutex provideInputLock; |
176 }; | 175 }; |
177 | 176 |
178 AudioSourceProviderImpl m_audioSourceProvider; | 177 AudioSourceProviderImpl m_audioSourceProvider; |
179 #endif | 178 #endif |
180 }; | 179 }; |
181 | 180 |
182 } // namespace blink | 181 } // namespace blink |
183 | 182 |
184 #endif | 183 #endif |
OLD | NEW |