OLD | NEW |
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 <X11/extensions/XShm.h> |
10 #include <sys/ipc.h> | 11 #include <sys/ipc.h> |
11 #include <sys/shm.h> | 12 #include <sys/shm.h> |
12 #include <X11/extensions/XShm.h> | |
13 | 13 |
| 14 #include <memory> |
14 #include <string> | 15 #include <string> |
15 | 16 |
16 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | |
18 | 18 |
19 namespace media { | 19 namespace media { |
20 class VideoFrame; | 20 class VideoFrame; |
21 } | 21 } |
22 | 22 |
23 namespace media { | 23 namespace media { |
24 namespace cast { | 24 namespace cast { |
25 namespace test { | 25 namespace test { |
26 | 26 |
27 class LinuxOutputWindow { | 27 class LinuxOutputWindow { |
(...skipping 18 matching lines...) Expand all Loading... |
46 XShmSegmentInfo shminfo_; | 46 XShmSegmentInfo shminfo_; |
47 GC gc_; | 47 GC gc_; |
48 XImage* image_; | 48 XImage* image_; |
49 }; | 49 }; |
50 | 50 |
51 } // namespace test | 51 } // namespace test |
52 } // namespace cast | 52 } // namespace cast |
53 } // namespace media | 53 } // namespace media |
54 | 54 |
55 #endif // MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_ | 55 #endif // MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_ |
OLD | NEW |