| 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 CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 virtual bool hasSingleSecurityOrigin() const; | 122 virtual bool hasSingleSecurityOrigin() const; |
| 123 virtual bool didPassCORSAccessCheck() const; | 123 virtual bool didPassCORSAccessCheck() const; |
| 124 | 124 |
| 125 virtual double mediaTimeForTimeValue(double timeValue) const; | 125 virtual double mediaTimeForTimeValue(double timeValue) const; |
| 126 | 126 |
| 127 virtual unsigned decodedFrameCount() const; | 127 virtual unsigned decodedFrameCount() const; |
| 128 virtual unsigned droppedFrameCount() const; | 128 virtual unsigned droppedFrameCount() const; |
| 129 virtual unsigned audioDecodedByteCount() const; | 129 virtual unsigned audioDecodedByteCount() const; |
| 130 virtual unsigned videoDecodedByteCount() const; | 130 virtual unsigned videoDecodedByteCount() const; |
| 131 virtual double totalFrameDelay() const; |
| 131 | 132 |
| 132 virtual bool copyVideoTextureToPlatformTexture( | 133 virtual bool copyVideoTextureToPlatformTexture( |
| 133 blink::WebGraphicsContext3D* web_graphics_context, | 134 blink::WebGraphicsContext3D* web_graphics_context, |
| 134 unsigned int texture, | 135 unsigned int texture, |
| 135 unsigned int level, | 136 unsigned int level, |
| 136 unsigned int internal_format, | 137 unsigned int internal_format, |
| 137 unsigned int type, | 138 unsigned int type, |
| 138 bool premultiply_alpha, | 139 bool premultiply_alpha, |
| 139 bool flip_y); | 140 bool flip_y); |
| 140 | 141 |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 WebContentDecryptionModuleImpl* web_cdm_; | 359 WebContentDecryptionModuleImpl* web_cdm_; |
| 359 | 360 |
| 360 media::DecryptorReadyCB decryptor_ready_cb_; | 361 media::DecryptorReadyCB decryptor_ready_cb_; |
| 361 | 362 |
| 362 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 363 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 363 }; | 364 }; |
| 364 | 365 |
| 365 } // namespace content | 366 } // namespace content |
| 366 | 367 |
| 367 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ | 368 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |