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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 <vector> | 56 #include <vector> |
57 | 57 |
58 #include "base/lock.h" | 58 #include "base/lock.h" |
59 #include "base/message_loop.h" | 59 #include "base/message_loop.h" |
60 #include "base/ref_counted.h" | 60 #include "base/ref_counted.h" |
| 61 #include "base/scoped_ptr.h" |
61 #include "base/waitable_event.h" | 62 #include "base/waitable_event.h" |
62 #include "gfx/rect.h" | 63 #include "gfx/rect.h" |
63 #include "gfx/size.h" | 64 #include "gfx/size.h" |
64 #include "media/base/filters.h" | 65 #include "media/base/filters.h" |
65 #include "media/base/pipeline_impl.h" | 66 #include "media/base/pipeline_impl.h" |
66 #include "skia/ext/platform_canvas.h" | 67 #include "skia/ext/platform_canvas.h" |
67 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayer.h" | 68 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayer.h" |
68 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerClient.h" | 69 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerClient.h" |
69 | 70 |
70 class GURL; | 71 class GURL; |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 WebMediaPlayerImpl::Proxy* proxy) = 0; | 331 WebMediaPlayerImpl::Proxy* proxy) = 0; |
331 | 332 |
332 private: | 333 private: |
333 DISALLOW_COPY_AND_ASSIGN(WebVideoRendererFactoryFactory); | 334 DISALLOW_COPY_AND_ASSIGN(WebVideoRendererFactoryFactory); |
334 }; | 335 }; |
335 | 336 |
336 | 337 |
337 } // namespace webkit_glue | 338 } // namespace webkit_glue |
338 | 339 |
339 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ | 340 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |