OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. | 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. |
6 // It contains Pipeline which is the actual media player pipeline, it glues | 6 // It contains Pipeline which is the actual media player pipeline, it glues |
7 // the media player pipeline, data source, audio renderer and renderer. | 7 // the media player pipeline, data source, audio renderer and renderer. |
8 // Pipeline would creates multiple threads and access some public methods | 8 // Pipeline would creates multiple threads and access some public methods |
9 // of this class, so we need to be extra careful about concurrent access of | 9 // of this class, so we need to be extra careful about concurrent access of |
10 // methods and members. | 10 // methods and members. |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "base/threading/thread.h" | 28 #include "base/threading/thread.h" |
29 #include "cc/layers/video_frame_provider.h" | 29 #include "cc/layers/video_frame_provider.h" |
30 #include "googleurl/src/gurl.h" | 30 #include "googleurl/src/gurl.h" |
31 #include "media/base/audio_renderer_sink.h" | 31 #include "media/base/audio_renderer_sink.h" |
32 #include "media/base/decryptor.h" | 32 #include "media/base/decryptor.h" |
33 #include "media/base/pipeline.h" | 33 #include "media/base/pipeline.h" |
34 #include "media/base/text_track.h" | 34 #include "media/base/text_track.h" |
35 #include "media/filters/gpu_video_decoder.h" | 35 #include "media/filters/gpu_video_decoder.h" |
36 #include "media/filters/skcanvas_video_renderer.h" | 36 #include "media/filters/skcanvas_video_renderer.h" |
37 #include "skia/ext/platform_canvas.h" | 37 #include "skia/ext/platform_canvas.h" |
38 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 38 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioSourceProvide
r.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioSourceProvide
r.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayer.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayer.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient.
h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient.
h" |
42 #include "webkit/media/crypto/key_systems.h" | 42 #include "webkit/media/crypto/key_systems.h" |
43 #include "webkit/media/crypto/proxy_decryptor.h" | 43 #include "webkit/media/crypto/proxy_decryptor.h" |
44 | 44 |
45 class RenderAudioSourceProvider; | 45 class RenderAudioSourceProvider; |
46 | 46 |
47 namespace WebKit { | 47 namespace WebKit { |
48 class WebFrame; | 48 class WebFrame; |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 | 377 |
378 // Text track objects get a unique index value when they're created. | 378 // Text track objects get a unique index value when they're created. |
379 int text_track_index_; | 379 int text_track_index_; |
380 | 380 |
381 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 381 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
382 }; | 382 }; |
383 | 383 |
384 } // namespace webkit_media | 384 } // namespace webkit_media |
385 | 385 |
386 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_ | 386 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |