OLD | NEW |
1 // Copyright (c) 2012 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 #ifndef REMOTING_HOST_X11_UTILS_H_ | 5 #ifndef REMOTING_HOST_LINUX_X11_UTIL_H_ |
6 #define REMOTING_HOST_X11_UTILS_H_ | 6 #define REMOTING_HOST_LINUX_X11_UTIL_H_ |
7 | 7 |
8 // Xlib.h defines XErrorEvent as an anonymous struct, so we can't forward- | 8 // Xlib.h defines XErrorEvent as an anonymous struct, so we can't forward- |
9 // declare it in this header. Since Xlib.h is not generally something you | 9 // declare it in this header. Since Xlib.h is not generally something you |
10 // should #include into arbitrary code, please refrain from #including this | 10 // should #include into arbitrary code, please refrain from #including this |
11 // header in another header. | 11 // header in another header. |
12 #include <X11/Xlib.h> | 12 #include <X11/Xlib.h> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 | 15 |
16 namespace remoting { | 16 namespace remoting { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 ~ScopedXGrabServer(); | 53 ~ScopedXGrabServer(); |
54 | 54 |
55 private: | 55 private: |
56 Display* display_; | 56 Display* display_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(ScopedXGrabServer); | 58 DISALLOW_COPY_AND_ASSIGN(ScopedXGrabServer); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace remoting | 61 } // namespace remoting |
62 | 62 |
63 #endif // REMOTING_HOST_X11_UTILS_H_ | 63 #endif // REMOTING_HOST_LINUX_X11_UTIL_H_ |
OLD | NEW |