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

Side by Side Diff: media/tools/player_x11/x11_video_renderer.h

Issue 13243003: Move MessageLoop to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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 | « media/tools/player_x11/gl_video_renderer.h ('k') | net/cookies/cookie_store_test_callbacks.h » ('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) 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 #ifndef MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_ 5 #ifndef MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_
6 #define MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_ 6 #define MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
13 #include "ui/gfx/size.h" 13 #include "ui/gfx/size.h"
14 14
15 class MessageLoop;
16
17 namespace media { 15 namespace media {
18 class VideoFrame; 16 class VideoFrame;
19 } 17 }
20 18
21 class X11VideoRenderer : public base::RefCountedThreadSafe<X11VideoRenderer> { 19 class X11VideoRenderer : public base::RefCountedThreadSafe<X11VideoRenderer> {
22 public: 20 public:
23 X11VideoRenderer(Display* display, Window window); 21 X11VideoRenderer(Display* display, Window window);
24 22
25 void Paint(media::VideoFrame* video_frame); 23 void Paint(media::VideoFrame* video_frame);
26 24
(...skipping 13 matching lines...) Expand all
40 // Picture represents the paint target. This is a picture located 38 // Picture represents the paint target. This is a picture located
41 // in the server. 39 // in the server.
42 unsigned long picture_; 40 unsigned long picture_;
43 41
44 bool use_render_; 42 bool use_render_;
45 43
46 DISALLOW_COPY_AND_ASSIGN(X11VideoRenderer); 44 DISALLOW_COPY_AND_ASSIGN(X11VideoRenderer);
47 }; 45 };
48 46
49 #endif // MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_ 47 #endif // MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « media/tools/player_x11/gl_video_renderer.h ('k') | net/cookies/cookie_store_test_callbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698