| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 double mediaTimeForTimeValue(double timeValue) const override; | 167 double mediaTimeForTimeValue(double timeValue) const override; |
| 168 | 168 |
| 169 unsigned decodedFrameCount() const override; | 169 unsigned decodedFrameCount() const override; |
| 170 unsigned droppedFrameCount() const override; | 170 unsigned droppedFrameCount() const override; |
| 171 size_t audioDecodedByteCount() const override; | 171 size_t audioDecodedByteCount() const override; |
| 172 size_t videoDecodedByteCount() const override; | 172 size_t videoDecodedByteCount() const override; |
| 173 | 173 |
| 174 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, | 174 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, |
| 175 unsigned int texture, | 175 unsigned int texture, |
| 176 unsigned internal_format, |
| 177 unsigned type, |
| 176 bool premultiply_alpha, | 178 bool premultiply_alpha, |
| 177 bool flip_y) override; | 179 bool flip_y) override; |
| 178 | 180 |
| 179 blink::WebAudioSourceProvider* getAudioSourceProvider() override; | 181 blink::WebAudioSourceProvider* getAudioSourceProvider() override; |
| 180 | 182 |
| 181 void setContentDecryptionModule( | 183 void setContentDecryptionModule( |
| 182 blink::WebContentDecryptionModule* cdm, | 184 blink::WebContentDecryptionModule* cdm, |
| 183 blink::WebContentDecryptionModuleResult result) override; | 185 blink::WebContentDecryptionModuleResult result) override; |
| 184 | 186 |
| 185 bool supportsOverlayFullscreenVideo() override; | 187 bool supportsOverlayFullscreenVideo() override; |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 | 713 |
| 712 gfx::Size last_uploaded_frame_size_; | 714 gfx::Size last_uploaded_frame_size_; |
| 713 base::TimeDelta last_uploaded_frame_timestamp_; | 715 base::TimeDelta last_uploaded_frame_timestamp_; |
| 714 | 716 |
| 715 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 717 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 716 }; | 718 }; |
| 717 | 719 |
| 718 } // namespace media | 720 } // namespace media |
| 719 | 721 |
| 720 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 722 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |