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 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
16 #include "cc/layers/video_frame_provider.h" | 16 #include "cc/layers/video_frame_provider.h" |
17 #include "content/renderer/media/crypto/proxy_decryptor.h" | 17 #include "content/renderer/media/crypto/proxy_decryptor.h" |
18 #include "media/base/audio_renderer_sink.h" | 18 #include "media/base/audio_renderer_sink.h" |
19 #include "media/base/decryptor.h" | 19 #include "media/base/decryptor.h" |
| 20 // TODO(xhwang): Remove when we remove prefixed EME implementation. |
20 #include "media/base/media_keys.h" | 21 #include "media/base/media_keys.h" |
21 #include "media/base/pipeline.h" | 22 #include "media/base/pipeline.h" |
22 #include "media/base/text_track.h" | 23 #include "media/base/text_track.h" |
23 #include "media/filters/skcanvas_video_renderer.h" | 24 #include "media/filters/skcanvas_video_renderer.h" |
24 #include "media/filters/video_frame_painter.h" | 25 #include "media/filters/video_frame_painter.h" |
25 #include "skia/ext/platform_canvas.h" | 26 #include "skia/ext/platform_canvas.h" |
26 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" | 27 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" |
27 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 28 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
28 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 29 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
29 #include "third_party/WebKit/public/platform/WebMediaPlayerClient.h" | 30 #include "third_party/WebKit/public/platform/WebMediaPlayerClient.h" |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 WebContentDecryptionModuleImpl* web_cdm_; | 353 WebContentDecryptionModuleImpl* web_cdm_; |
353 | 354 |
354 media::DecryptorReadyCB decryptor_ready_cb_; | 355 media::DecryptorReadyCB decryptor_ready_cb_; |
355 | 356 |
356 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 357 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
357 }; | 358 }; |
358 | 359 |
359 } // namespace content | 360 } // namespace content |
360 | 361 |
361 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ | 362 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |