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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 } | 63 } |
64 | 64 |
65 namespace gpu { | 65 namespace gpu { |
66 namespace gles2 { | 66 namespace gles2 { |
67 class GLES2Interface; | 67 class GLES2Interface; |
68 } | 68 } |
69 } | 69 } |
70 | 70 |
71 namespace media { | 71 namespace media { |
72 class ChunkDemuxer; | 72 class ChunkDemuxer; |
73 class GpuVideoAcceleratorFactories; | |
74 class MediaKeys; | 73 class MediaKeys; |
75 class MediaLog; | 74 class MediaLog; |
76 class UrlIndex; | 75 class UrlIndex; |
77 class VideoFrameCompositor; | 76 class VideoFrameCompositor; |
78 class WatchTimeReporter; | 77 class WatchTimeReporter; |
79 class WebAudioSourceProviderImpl; | 78 class WebAudioSourceProviderImpl; |
80 class WebMediaPlayerDelegate; | 79 class WebMediaPlayerDelegate; |
81 class WebTextTrackImpl; | |
82 | 80 |
83 // The canonical implementation of blink::WebMediaPlayer that's backed by | 81 // The canonical implementation of blink::WebMediaPlayer that's backed by |
84 // Pipeline. Handles normal resource loading, Media Source, and | 82 // Pipeline. Handles normal resource loading, Media Source, and |
85 // Encrypted Media. | 83 // Encrypted Media. |
86 class MEDIA_BLINK_EXPORT WebMediaPlayerImpl | 84 class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
87 : public NON_EXPORTED_BASE(blink::WebMediaPlayer), | 85 : public NON_EXPORTED_BASE(blink::WebMediaPlayer), |
88 public NON_EXPORTED_BASE(WebMediaPlayerDelegate::Observer), | 86 public NON_EXPORTED_BASE(WebMediaPlayerDelegate::Observer), |
89 public NON_EXPORTED_BASE(Pipeline::Client), | 87 public NON_EXPORTED_BASE(Pipeline::Client), |
90 public base::SupportsWeakPtr<WebMediaPlayerImpl> { | 88 public base::SupportsWeakPtr<WebMediaPlayerImpl> { |
91 public: | 89 public: |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 | 577 |
580 // Whether the player is currently in autoplay muted state. | 578 // Whether the player is currently in autoplay muted state. |
581 bool autoplay_muted_ = false; | 579 bool autoplay_muted_ = false; |
582 | 580 |
583 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 581 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
584 }; | 582 }; |
585 | 583 |
586 } // namespace media | 584 } // namespace media |
587 | 585 |
588 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 586 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |