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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; | 90 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; |
91 virtual void requestFullscreen() OVERRIDE; | 91 virtual void requestFullscreen() OVERRIDE; |
92 virtual void requestSeek(double) OVERRIDE; | 92 virtual void requestSeek(double) OVERRIDE; |
93 | 93 |
94 // MediaPlayer methods: | 94 // MediaPlayer methods: |
95 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; | 95 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; |
96 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia
Player::CORSMode) OVERRIDE; | 96 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia
Player::CORSMode) OVERRIDE; |
97 virtual void play() OVERRIDE; | 97 virtual void play() OVERRIDE; |
98 virtual void pause() OVERRIDE; | 98 virtual void pause() OVERRIDE; |
99 virtual bool supportsSave() const OVERRIDE; | 99 virtual bool supportsSave() const OVERRIDE; |
100 virtual WebCore::IntSize naturalSize() const OVERRIDE; | |
101 virtual bool hasVideo() const OVERRIDE; | |
102 virtual bool hasAudio() const OVERRIDE; | 100 virtual bool hasAudio() const OVERRIDE; |
103 virtual double duration() const OVERRIDE; | 101 virtual double duration() const OVERRIDE; |
104 virtual double currentTime() const OVERRIDE; | 102 virtual double currentTime() const OVERRIDE; |
105 virtual void seek(double time) OVERRIDE; | 103 virtual void seek(double time) OVERRIDE; |
106 virtual bool seeking() const OVERRIDE; | 104 virtual bool seeking() const OVERRIDE; |
107 virtual double rate() const OVERRIDE; | 105 virtual double rate() const OVERRIDE; |
108 virtual void setRate(double) OVERRIDE; | 106 virtual void setRate(double) OVERRIDE; |
109 virtual bool paused() const OVERRIDE; | 107 virtual bool paused() const OVERRIDE; |
110 virtual void setPoster(const WebCore::KURL&) OVERRIDE; | 108 virtual void setPoster(const WebCore::KURL&) OVERRIDE; |
111 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; | 109 virtual WebCore::MediaPlayer::NetworkState networkState() const OVERRIDE; |
112 virtual WebCore::MediaPlayer::ReadyState readyState() const OVERRIDE; | 110 virtual WebCore::MediaPlayer::ReadyState readyState() const OVERRIDE; |
113 virtual double maxTimeSeekable() const OVERRIDE; | 111 virtual double maxTimeSeekable() const OVERRIDE; |
114 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const OVERRIDE; | 112 virtual WTF::PassRefPtr<WebCore::TimeRanges> buffered() const OVERRIDE; |
115 virtual bool didLoadingProgress() const OVERRIDE; | 113 virtual bool didLoadingProgress() const OVERRIDE; |
116 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR
IDE; | 114 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&) OVERR
IDE; |
117 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo
rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul
tiplyAlpha, bool flipY) OVERRIDE; | 115 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platfo
rm3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premul
tiplyAlpha, bool flipY) OVERRIDE; |
118 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; | 116 virtual void setPreload(WebCore::MediaPlayer::Preload) OVERRIDE; |
119 virtual bool hasSingleSecurityOrigin() const OVERRIDE; | 117 virtual bool hasSingleSecurityOrigin() const OVERRIDE; |
120 virtual bool didPassCORSAccessCheck() const OVERRIDE; | |
121 virtual double mediaTimeForTimeValue(double timeValue) const OVERRIDE; | 118 virtual double mediaTimeForTimeValue(double timeValue) const OVERRIDE; |
122 virtual unsigned decodedFrameCount() const OVERRIDE; | |
123 virtual unsigned droppedFrameCount() const OVERRIDE; | |
124 virtual unsigned corruptedFrameCount() const OVERRIDE; | |
125 virtual unsigned audioDecodedByteCount() const OVERRIDE; | 119 virtual unsigned audioDecodedByteCount() const OVERRIDE; |
126 virtual unsigned videoDecodedByteCount() const OVERRIDE; | 120 virtual unsigned videoDecodedByteCount() const OVERRIDE; |
127 virtual void showFullscreenOverlay() OVERRIDE; | 121 virtual void showFullscreenOverlay() OVERRIDE; |
128 virtual void hideFullscreenOverlay() OVERRIDE; | 122 virtual void hideFullscreenOverlay() OVERRIDE; |
129 virtual bool canShowFullscreenOverlay() const OVERRIDE; | 123 virtual bool canShowFullscreenOverlay() const OVERRIDE; |
130 | 124 |
131 #if ENABLE(WEB_AUDIO) | 125 #if ENABLE(WEB_AUDIO) |
132 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; | 126 virtual WebCore::AudioSourceProvider* audioSourceProvider() OVERRIDE; |
133 #endif | 127 #endif |
134 | 128 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 Mutex provideInputLock; | 190 Mutex provideInputLock; |
197 }; | 191 }; |
198 | 192 |
199 AudioSourceProviderImpl m_audioSourceProvider; | 193 AudioSourceProviderImpl m_audioSourceProvider; |
200 #endif | 194 #endif |
201 }; | 195 }; |
202 | 196 |
203 } // namespace blink | 197 } // namespace blink |
204 | 198 |
205 #endif | 199 #endif |
OLD | NEW |