| 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 CHROME_GPU_X_UTIL_H_ | 5 #ifndef CONTENT_COMMON_GPU_X_UTIL_H_ |
| 6 #define CHROME_GPU_X_UTIL_H_ | 6 #define CONTENT_COMMON_GPU_X_UTIL_H_ |
| 7 | 7 |
| 8 // Some X-Windows specific stuff. This can be included on any platform, and will | 8 // Some X-Windows specific stuff. This can be included on any platform, and will |
| 9 // be a NOP on non-Linux ones. | 9 // be a NOP on non-Linux ones. |
| 10 | 10 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "content/common/gpu/gpu_config.h" | 12 #include "content/common/gpu/gpu_config.h" |
| 13 | 13 |
| 14 #if defined(USE_X11) | 14 #if defined(USE_X11) |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 // where "XVisualInfo" is any X type that is freed with XFree. | 40 // where "XVisualInfo" is any X type that is freed with XFree. |
| 41 class ScopedPtrXFree { | 41 class ScopedPtrXFree { |
| 42 public: | 42 public: |
| 43 void operator()(void* x) const; | 43 void operator()(void* x) const; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace content | 46 } // namespace content |
| 47 | 47 |
| 48 #endif // USE_X11 | 48 #endif // USE_X11 |
| 49 | 49 |
| 50 #endif // CHROME_GPU_X_UTIL_H_ | 50 #endif // CONTENT_COMMON_GPU_X_UTIL_H_ |
| OLD | NEW |