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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 160 |
161 double mediaTimeForTimeValue(double timeValue) const override; | 161 double mediaTimeForTimeValue(double timeValue) const override; |
162 | 162 |
163 unsigned decodedFrameCount() const override; | 163 unsigned decodedFrameCount() const override; |
164 unsigned droppedFrameCount() const override; | 164 unsigned droppedFrameCount() const override; |
165 size_t audioDecodedByteCount() const override; | 165 size_t audioDecodedByteCount() const override; |
166 size_t videoDecodedByteCount() const override; | 166 size_t videoDecodedByteCount() const override; |
167 | 167 |
168 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, | 168 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, |
169 unsigned int texture, | 169 unsigned int texture, |
170 unsigned int internal_format, | |
171 unsigned int type, | |
172 bool premultiply_alpha, | 170 bool premultiply_alpha, |
173 bool flip_y) override; | 171 bool flip_y) override; |
174 | 172 |
175 blink::WebAudioSourceProvider* getAudioSourceProvider() override; | 173 blink::WebAudioSourceProvider* getAudioSourceProvider() override; |
176 | 174 |
177 void setContentDecryptionModule( | 175 void setContentDecryptionModule( |
178 blink::WebContentDecryptionModule* cdm, | 176 blink::WebContentDecryptionModule* cdm, |
179 blink::WebContentDecryptionModuleResult result) override; | 177 blink::WebContentDecryptionModuleResult result) override; |
180 | 178 |
181 bool supportsOverlayFullscreenVideo() override; | 179 bool supportsOverlayFullscreenVideo() override; |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 | 576 |
579 // Whether the player is currently in autoplay muted state. | 577 // Whether the player is currently in autoplay muted state. |
580 bool autoplay_muted_ = false; | 578 bool autoplay_muted_ = false; |
581 | 579 |
582 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 580 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
583 }; | 581 }; |
584 | 582 |
585 } // namespace media | 583 } // namespace media |
586 | 584 |
587 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 585 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |