Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Side by Side Diff: webkit/media/webmediaplayer_proxy.h

Issue 8936014: Removing DataSource from Filter hierarchy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved preload into a separate file. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« media/media.gyp ('K') | « webkit/media/web_data_source.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_ 5 #ifndef WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_
6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_ 6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
12 #include "media/base/pipeline.h" 12 #include "media/base/pipeline.h"
13 #include "media/filters/chunk_demuxer_client.h" 13 #include "media/filters/chunk_demuxer_client.h"
14 #include "webkit/media/web_data_source.h" 14 #include "webkit/media/web_data_source.h"
15 15
16 class MessageLoop; 16 class MessageLoop;
17 class SkCanvas; 17 class SkCanvas;
18 18
19 namespace gfx { 19 namespace gfx {
20 class Rect; 20 class Rect;
21 } 21 }
22 22
23 namespace media {
24 class VideoFrame;
25 }
26
23 namespace webkit_media { 27 namespace webkit_media {
24 28
25 class WebMediaPlayerImpl; 29 class WebMediaPlayerImpl;
26 class VideoRendererImpl; 30 class VideoRendererImpl;
27 31
28 // Acts as a thread proxy between the various threads used for multimedia and 32 // Acts as a thread proxy between the various threads used for multimedia and
29 // the render thread that WebMediaPlayerImpl is running on. 33 // the render thread that WebMediaPlayerImpl is running on.
30 class WebMediaPlayerProxy 34 class WebMediaPlayerProxy
31 : public base::RefCountedThreadSafe<WebMediaPlayerProxy>, 35 : public base::RefCountedThreadSafe<WebMediaPlayerProxy>,
32 public media::ChunkDemuxerClient { 36 public media::ChunkDemuxerClient {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 int outstanding_repaints_; 114 int outstanding_repaints_;
111 115
112 scoped_refptr<media::ChunkDemuxer> chunk_demuxer_; 116 scoped_refptr<media::ChunkDemuxer> chunk_demuxer_;
113 117
114 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxy); 118 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxy);
115 }; 119 };
116 120
117 } // namespace webkit_media 121 } // namespace webkit_media
118 122
119 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_ 123 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_
OLDNEW
« media/media.gyp ('K') | « webkit/media/web_data_source.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698