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_PARAMS_H_ | 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_PARAMS_H_ |
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_PARAMS_H_ | 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_PARAMS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "media/base/media_observer.h" | 14 #include "media/base/media_observer.h" |
15 #include "media/blink/media_blink_export.h" | 15 #include "media/blink/media_blink_export.h" |
16 #include "media/filters/context_3d.h" | 16 #include "media/filters/context_3d.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
20 class TaskRunner; | 20 class TaskRunner; |
21 } | 21 } |
22 | 22 |
23 namespace blink { | 23 namespace blink { |
24 class WebContentDecryptionModule; | 24 class WebContentDecryptionModule; |
25 class WebMediaPlayerClient; | |
26 } | 25 } |
27 | 26 |
28 namespace media { | 27 namespace media { |
29 | 28 |
30 class SwitchableAudioRendererSink; | 29 class SwitchableAudioRendererSink; |
31 class MediaLog; | 30 class MediaLog; |
32 class SurfaceManager; | 31 class SurfaceManager; |
33 | 32 |
34 // Holds parameters for constructing WebMediaPlayerImpl without having | 33 // Holds parameters for constructing WebMediaPlayerImpl without having |
35 // to plumb arguments through various abstraction layers. | 34 // to plumb arguments through various abstraction layers. |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 blink::WebContentDecryptionModule* initial_cdm_; | 114 blink::WebContentDecryptionModule* initial_cdm_; |
116 SurfaceManager* surface_manager_; | 115 SurfaceManager* surface_manager_; |
117 base::WeakPtr<MediaObserver> media_observer_; | 116 base::WeakPtr<MediaObserver> media_observer_; |
118 | 117 |
119 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerParams); | 118 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerParams); |
120 }; | 119 }; |
121 | 120 |
122 } // namespace media | 121 } // namespace media |
123 | 122 |
124 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_PARAMS_H_ | 123 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_PARAMS_H_ |
OLD | NEW |