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 28 matching lines...) Expand all Loading... |
39 } | 39 } |
40 | 40 |
41 namespace base { | 41 namespace base { |
42 class MessageLoopProxy; | 42 class MessageLoopProxy; |
43 } | 43 } |
44 | 44 |
45 namespace media { | 45 namespace media { |
46 class ChunkDemuxer; | 46 class ChunkDemuxer; |
47 class GpuVideoAcceleratorFactories; | 47 class GpuVideoAcceleratorFactories; |
48 class MediaLog; | 48 class MediaLog; |
| 49 class VideoFrameSchedulerImpl; |
49 } | 50 } |
50 | 51 |
51 namespace webkit { | 52 namespace webkit { |
52 class WebLayerImpl; | 53 class WebLayerImpl; |
53 } | 54 } |
54 | 55 |
55 namespace content { | 56 namespace content { |
56 class BufferedDataSource; | 57 class BufferedDataSource; |
57 class VideoFrameCompositor; | 58 class VideoFrameCompositor; |
58 class WebAudioSourceProviderImpl; | 59 class WebAudioSourceProviderImpl; |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 | 346 |
346 // Manages decryption keys and decrypts encrypted frames. | 347 // Manages decryption keys and decrypts encrypted frames. |
347 scoped_ptr<ProxyDecryptor> proxy_decryptor_; | 348 scoped_ptr<ProxyDecryptor> proxy_decryptor_; |
348 | 349 |
349 // Non-owned pointer to the CDM. Updated via calls to | 350 // Non-owned pointer to the CDM. Updated via calls to |
350 // setContentDecryptionModule(). | 351 // setContentDecryptionModule(). |
351 WebContentDecryptionModuleImpl* web_cdm_; | 352 WebContentDecryptionModuleImpl* web_cdm_; |
352 | 353 |
353 media::DecryptorReadyCB decryptor_ready_cb_; | 354 media::DecryptorReadyCB decryptor_ready_cb_; |
354 | 355 |
| 356 scoped_refptr<base::SingleThreadTaskRunner> scheduler_runner_; |
| 357 media::VideoFrameSchedulerImpl* |
| 358 scheduler_; // Deleted on |scheduler_runner_|. |
| 359 |
355 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 360 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
356 }; | 361 }; |
357 | 362 |
358 } // namespace content | 363 } // namespace content |
359 | 364 |
360 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ | 365 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |