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

Side by Side Diff: remoting/host/x_server_pixel_buffer.h

Issue 10387107: Cleanup: Remove unneeded scoped_ptr.h includes from ppapi, printing, remoting, and sync. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | « remoting/client/plugin/pepper_view.h ('k') | remoting/protocol/authentication_method.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) 2011 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 // Don't include this file in any .h files because it pulls in some X headers. 5 // Don't include this file in any .h files because it pulls in some X headers.
6 6
7 #ifndef REMOTING_HOST_X_SERVER_PIXEL_BUFFER_H_ 7 #ifndef REMOTING_HOST_X_SERVER_PIXEL_BUFFER_H_
8 #define REMOTING_HOST_X_SERVER_PIXEL_BUFFER_H_ 8 #define REMOTING_HOST_X_SERVER_PIXEL_BUFFER_H_
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "third_party/skia/include/core/SkRect.h" 11 #include "third_party/skia/include/core/SkRect.h"
13 12
14 #include <X11/Xutil.h> 13 #include <X11/Xutil.h>
15 #include <X11/extensions/XShm.h> 14 #include <X11/extensions/XShm.h>
16 15
17 namespace remoting { 16 namespace remoting {
18 17
19 // A class to allow the X server's pixel buffer to be accessed as efficiently 18 // A class to allow the X server's pixel buffer to be accessed as efficiently
20 // as possible. 19 // as possible.
21 class XServerPixelBuffer { 20 class XServerPixelBuffer {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 XShmSegmentInfo* shm_segment_info_; 62 XShmSegmentInfo* shm_segment_info_;
64 Pixmap shm_pixmap_; 63 Pixmap shm_pixmap_;
65 GC shm_gc_; 64 GC shm_gc_;
66 65
67 DISALLOW_COPY_AND_ASSIGN(XServerPixelBuffer); 66 DISALLOW_COPY_AND_ASSIGN(XServerPixelBuffer);
68 }; 67 };
69 68
70 } // namespace remoting 69 } // namespace remoting
71 70
72 #endif // REMOTING_HOST_X_SERVER_PIXEL_BUFFER_H_ 71 #endif // REMOTING_HOST_X_SERVER_PIXEL_BUFFER_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_view.h ('k') | remoting/protocol/authentication_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698