OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 PipelineImpl which is the actual media player pipeline, it glues | 6 // It contains PipelineImpl 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 // PipelineImpl would creates multiple threads and access some public methods | 8 // PipelineImpl 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // at destruction of this class we will need to unhook it from destruction event | 50 // at destruction of this class we will need to unhook it from destruction event |
51 // list of the main thread. | 51 // list of the main thread. |
52 | 52 |
53 #ifndef WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ | 53 #ifndef WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ |
54 #define WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ | 54 #define WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ |
55 | 55 |
56 #include "base/lock.h" | 56 #include "base/lock.h" |
57 #include "base/message_loop.h" | 57 #include "base/message_loop.h" |
58 #include "base/ref_counted.h" | 58 #include "base/ref_counted.h" |
59 #include "base/scoped_ptr.h" | 59 #include "base/scoped_ptr.h" |
60 #include "base/thread.h" | 60 #include "base/threading/thread.h" |
61 #include "base/waitable_event.h" | 61 #include "base/waitable_event.h" |
62 #include "gfx/rect.h" | 62 #include "gfx/rect.h" |
63 #include "gfx/size.h" | 63 #include "gfx/size.h" |
64 #include "media/base/filters.h" | 64 #include "media/base/filters.h" |
65 #include "media/base/pipeline.h" | 65 #include "media/base/pipeline.h" |
66 #include "skia/ext/platform_canvas.h" | 66 #include "skia/ext/platform_canvas.h" |
67 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayer.h" | 67 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayer.h" |
68 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerClient.h" | 68 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerClient.h" |
69 | 69 |
70 class GURL; | 70 class GURL; |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 #if WEBKIT_USING_CG | 317 #if WEBKIT_USING_CG |
318 scoped_ptr<skia::PlatformCanvas> skia_canvas_; | 318 scoped_ptr<skia::PlatformCanvas> skia_canvas_; |
319 #endif | 319 #endif |
320 | 320 |
321 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 321 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
322 }; | 322 }; |
323 | 323 |
324 } // namespace webkit_glue | 324 } // namespace webkit_glue |
325 | 325 |
326 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ | 326 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |