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 double duration() const OVERRIDE; | |
102 virtual double currentTime() const OVERRIDE; | |
103 virtual void seek(double time) OVERRIDE; | |
104 virtual bool seeking() const OVERRIDE; | |
105 virtual void setPoster(const WebCore::KURL&) OVERRIDE; | |
106 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; | 101 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; |
107 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR
IDE; | 102 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; | 103 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; | 104 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; |
110 | 105 |
111 #if ENABLE(WEB_AUDIO) | 106 #if ENABLE(WEB_AUDIO) |
112 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; | 107 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; |
113 #endif | 108 #endif |
114 | 109 |
115 private: | 110 private: |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 Mutex provideInputLock; | 170 Mutex provideInputLock; |
176 }; | 171 }; |
177 | 172 |
178 AudioSourceProviderImpl m_audioSourceProvider; | 173 AudioSourceProviderImpl m_audioSourceProvider; |
179 #endif | 174 #endif |
180 }; | 175 }; |
181 | 176 |
182 } // namespace blink | 177 } // namespace blink |
183 | 178 |
184 #endif | 179 #endif |
OLD | NEW |