| 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 <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 virtual bool hasSingleSecurityOrigin() const; | 121 virtual bool hasSingleSecurityOrigin() const; |
| 122 virtual bool didPassCORSAccessCheck() const; | 122 virtual bool didPassCORSAccessCheck() const; |
| 123 | 123 |
| 124 virtual double mediaTimeForTimeValue(double timeValue) const; | 124 virtual double mediaTimeForTimeValue(double timeValue) const; |
| 125 | 125 |
| 126 virtual unsigned decodedFrameCount() const; | 126 virtual unsigned decodedFrameCount() const; |
| 127 virtual unsigned droppedFrameCount() const; | 127 virtual unsigned droppedFrameCount() const; |
| 128 virtual unsigned audioDecodedByteCount() const; | 128 virtual unsigned audioDecodedByteCount() const; |
| 129 virtual unsigned videoDecodedByteCount() const; | 129 virtual unsigned videoDecodedByteCount() const; |
| 130 | 130 |
| 131 virtual size_t getAudioBufferSize() const; |
| 132 virtual void setAudioBufferSize(size_t size); |
| 133 virtual size_t getVideoBufferSize() const; |
| 134 virtual void setVideoBufferSize(size_t size); |
| 135 |
| 131 // TODO(dshwang): remove |level|. crbug.com/443151 | 136 // TODO(dshwang): remove |level|. crbug.com/443151 |
| 132 virtual bool copyVideoTextureToPlatformTexture( | 137 virtual bool copyVideoTextureToPlatformTexture( |
| 133 blink::WebGraphicsContext3D* web_graphics_context, | 138 blink::WebGraphicsContext3D* web_graphics_context, |
| 134 unsigned int texture, | 139 unsigned int texture, |
| 135 unsigned int level, | 140 unsigned int level, |
| 136 unsigned int internal_format, | 141 unsigned int internal_format, |
| 137 unsigned int type, | 142 unsigned int type, |
| 138 bool premultiply_alpha, | 143 bool premultiply_alpha, |
| 139 bool flip_y); | 144 bool flip_y); |
| 140 virtual bool copyVideoTextureToPlatformTexture( | 145 virtual bool copyVideoTextureToPlatformTexture( |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 EncryptedMediaPlayerSupport encrypted_media_support_; | 335 EncryptedMediaPlayerSupport encrypted_media_support_; |
| 331 | 336 |
| 332 scoped_ptr<RendererFactory> renderer_factory_; | 337 scoped_ptr<RendererFactory> renderer_factory_; |
| 333 | 338 |
| 334 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 339 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 335 }; | 340 }; |
| 336 | 341 |
| 337 } // namespace media | 342 } // namespace media |
| 338 | 343 |
| 339 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 344 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |