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

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

Issue 6171009: Remove MessageLoop methods from Filter interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
OLDNEW
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 #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/message_loop.h"
10 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
11 #include "media/base/filters.h" 12 #include "media/base/filters.h"
12 #include "media/filters/video_renderer_base.h" 13 #include "media/filters/video_renderer_base.h"
13 14
14 class X11VideoRenderer : public media::VideoRendererBase { 15 class X11VideoRenderer : public media::VideoRendererBase {
15 public: 16 public:
16 X11VideoRenderer(Display* display, Window window, MessageLoop* message_loop); 17 X11VideoRenderer(Display* display, Window window, MessageLoop* message_loop);
17 18
18 // This method is called to paint the current video frame to the assigned 19 // This method is called to paint the current video frame to the assigned
19 // window. 20 // window.
(...skipping 28 matching lines...) Expand all
48 49
49 bool use_render_; 50 bool use_render_;
50 51
51 MessageLoop* glx_thread_message_loop_; 52 MessageLoop* glx_thread_message_loop_;
52 static X11VideoRenderer* instance_; 53 static X11VideoRenderer* instance_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(X11VideoRenderer); 55 DISALLOW_COPY_AND_ASSIGN(X11VideoRenderer);
55 }; 56 };
56 57
57 #endif // MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_ 58 #endif // MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698