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

Side by Side Diff: media/cast/test/linux_output_window.h

Issue 184813009: Cast Streaming API end-to-end browser_test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix LoggingImplTest + REBASE Created 6 years, 9 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/cast/logging/logging_impl_unittest.cc ('k') | media/cast/test/linux_output_window.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CAST_TEST_LINUX_OUTPUT_WINDOW_H_ 5 #ifndef MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_
6 #define MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_ 6 #define MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 #include <X11/Xutil.h> 9 #include <X11/Xutil.h>
10 #include <sys/ipc.h> 10 #include <sys/ipc.h>
(...skipping 23 matching lines...) Expand all
34 virtual ~LinuxOutputWindow(); 34 virtual ~LinuxOutputWindow();
35 35
36 void RenderFrame(const scoped_refptr<media::VideoFrame>& video_frame); 36 void RenderFrame(const scoped_refptr<media::VideoFrame>& video_frame);
37 37
38 private: 38 private:
39 void CreateWindow(int x_pos, 39 void CreateWindow(int x_pos,
40 int y_pos, 40 int y_pos,
41 int width, 41 int width,
42 int height, 42 int height,
43 const std::string& name); 43 const std::string& name);
44 uint8* render_buffer_;
45 Display* display_; 44 Display* display_;
46 Window window_; 45 Window window_;
47 XShmSegmentInfo shminfo_; 46 XShmSegmentInfo shminfo_;
48 GC gc_; 47 GC gc_;
49 XImage* image_; 48 XImage* image_;
50 }; 49 };
51 50
52 } // namespace test 51 } // namespace test
53 } // namespace cast 52 } // namespace cast
54 } // namespace media 53 } // namespace media
55 54
56 #endif // MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_ 55 #endif // MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_
OLDNEW
« no previous file with comments | « media/cast/logging/logging_impl_unittest.cc ('k') | media/cast/test/linux_output_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698