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

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

Issue 8570010: Moving media-related files from webkit/glue/ to webkit/media/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: minor fixes Created 9 years, 1 month 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
« no previous file with comments | « webkit/media/webmediaplayer_impl.cc ('k') | webkit/media/webmediaplayer_proxy.cc » ('j') | 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_GLUE_WEBMEDIAPLAYER_PROXY_H_ 5 #ifndef WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_
6 #define WEBKIT_GLUE_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/filters/chunk_demuxer_client.h" 12 #include "media/filters/chunk_demuxer_client.h"
13 #include "webkit/glue/media/web_data_source.h" 13 #include "webkit/media/web_data_source.h"
14 14
15 class MessageLoop; 15 class MessageLoop;
16 class SkCanvas; 16 class SkCanvas;
17 17
18 namespace gfx { 18 namespace gfx {
19 class Rect; 19 class Rect;
20 } 20 }
21 21
22 namespace webkit_glue { 22 namespace webkit_media {
23 23
24 class WebMediaPlayerImpl; 24 class WebMediaPlayerImpl;
25 class WebVideoRenderer; 25 class WebVideoRenderer;
26 26
27 // Acts as a thread proxy between the various threads used for multimedia and 27 // Acts as a thread proxy between the various threads used for multimedia and
28 // the render thread that WebMediaPlayerImpl is running on. 28 // the render thread that WebMediaPlayerImpl is running on.
29 class WebMediaPlayerProxy 29 class WebMediaPlayerProxy
30 : public base::RefCountedThreadSafe<WebMediaPlayerProxy>, 30 : public base::RefCountedThreadSafe<WebMediaPlayerProxy>,
31 public media::ChunkDemuxerClient { 31 public media::ChunkDemuxerClient {
32 public: 32 public:
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 scoped_refptr<WebVideoRenderer> video_renderer_; 108 scoped_refptr<WebVideoRenderer> video_renderer_;
109 109
110 base::Lock lock_; 110 base::Lock lock_;
111 int outstanding_repaints_; 111 int outstanding_repaints_;
112 112
113 scoped_refptr<media::ChunkDemuxer> chunk_demuxer_; 113 scoped_refptr<media::ChunkDemuxer> chunk_demuxer_;
114 114
115 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxy); 115 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxy);
116 }; 116 };
117 117
118 } // namespace webkit_glue 118 } // namespace webkit_media
119 119
120 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_PROXY_H_ 120 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_
OLDNEW
« no previous file with comments | « webkit/media/webmediaplayer_impl.cc ('k') | webkit/media/webmediaplayer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698