| 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 void SetEnableFullscreenOverlays(bool enable_overlays); | 179 void SetEnableFullscreenOverlays(bool enable_overlays); |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 599 |
| 602 // Whether the player is currently in autoplay muted state. | 600 // Whether the player is currently in autoplay muted state. |
| 603 bool autoplay_muted_ = false; | 601 bool autoplay_muted_ = false; |
| 604 | 602 |
| 605 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 603 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 606 }; | 604 }; |
| 607 | 605 |
| 608 } // namespace media | 606 } // namespace media |
| 609 | 607 |
| 610 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 608 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |