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

Side by Side Diff: webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h

Issue 1917043005: #include "webrtc/base/constructormagic.h" where appropriate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 // Don't include this file in any .h files because it pulls in some X headers. 11 // Don't include this file in any .h files because it pulls in some X headers.
12 12
13 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_ 13 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_
14 #define WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_ 14 #define WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_
15 15
16 #include "webrtc/base/constructormagic.h"
16 #include "webrtc/modules/desktop_capture/desktop_geometry.h" 17 #include "webrtc/modules/desktop_capture/desktop_geometry.h"
17 18
18 #include <X11/Xutil.h> 19 #include <X11/Xutil.h>
19 #include <X11/extensions/XShm.h> 20 #include <X11/extensions/XShm.h>
20 21
21 namespace webrtc { 22 namespace webrtc {
22 23
23 class DesktopFrame; 24 class DesktopFrame;
24 25
25 // A class to allow the X server's pixel buffer to be accessed as efficiently 26 // A class to allow the X server's pixel buffer to be accessed as efficiently
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 XShmSegmentInfo* shm_segment_info_; 77 XShmSegmentInfo* shm_segment_info_;
77 Pixmap shm_pixmap_; 78 Pixmap shm_pixmap_;
78 GC shm_gc_; 79 GC shm_gc_;
79 80
80 RTC_DISALLOW_COPY_AND_ASSIGN(XServerPixelBuffer); 81 RTC_DISALLOW_COPY_AND_ASSIGN(XServerPixelBuffer);
81 }; 82 };
82 83
83 } // namespace webrtc 84 } // namespace webrtc
84 85
85 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_ 86 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/x11/shared_x_display.h ('k') | webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698