| 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 <string> | 10 #include <string> |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 bool didLoadingProgress() override; | 139 bool didLoadingProgress() override; |
| 140 | 140 |
| 141 bool hasSingleSecurityOrigin() const override; | 141 bool hasSingleSecurityOrigin() const override; |
| 142 bool didPassCORSAccessCheck() const override; | 142 bool didPassCORSAccessCheck() const override; |
| 143 | 143 |
| 144 double mediaTimeForTimeValue(double timeValue) const override; | 144 double mediaTimeForTimeValue(double timeValue) const override; |
| 145 | 145 |
| 146 unsigned decodedFrameCount() const override; | 146 unsigned decodedFrameCount() const override; |
| 147 unsigned droppedFrameCount() const override; | 147 unsigned droppedFrameCount() const override; |
| 148 unsigned audioDecodedByteCount() const override; | 148 size_t audioDecodedByteCount() const override; |
| 149 unsigned videoDecodedByteCount() const override; | 149 size_t videoDecodedByteCount() const override; |
| 150 | 150 |
| 151 bool copyVideoTextureToPlatformTexture( | 151 bool copyVideoTextureToPlatformTexture( |
| 152 blink::WebGraphicsContext3D* web_graphics_context, | 152 blink::WebGraphicsContext3D* web_graphics_context, |
| 153 unsigned int texture, | 153 unsigned int texture, |
| 154 unsigned int internal_format, | 154 unsigned int internal_format, |
| 155 unsigned int type, | 155 unsigned int type, |
| 156 bool premultiply_alpha, | 156 bool premultiply_alpha, |
| 157 bool flip_y) override; | 157 bool flip_y) override; |
| 158 | 158 |
| 159 blink::WebAudioSourceProvider* audioSourceProvider() override; | 159 blink::WebAudioSourceProvider* audioSourceProvider() override; |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 // For requesting surfaces on behalf of the Android H/W decoder in fullscreen. | 453 // For requesting surfaces on behalf of the Android H/W decoder in fullscreen. |
| 454 // This will be null everywhere but Android. | 454 // This will be null everywhere but Android. |
| 455 SurfaceManager* surface_manager_; | 455 SurfaceManager* surface_manager_; |
| 456 | 456 |
| 457 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 457 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 458 }; | 458 }; |
| 459 | 459 |
| 460 } // namespace media | 460 } // namespace media |
| 461 | 461 |
| 462 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 462 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |