| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 UI_GFX_X_X11_UTIL_H_ | 5 #ifndef UI_GFX_X_X11_UTIL_H_ |
| 6 #define UI_GFX_X_X11_UTIL_H_ | 6 #define UI_GFX_X_X11_UTIL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "ui/gfx/gfx_export.h" | 11 #include "ui/gfx/gfx_export.h" |
| 12 | 12 |
| 13 typedef unsigned long XAtom; | 13 typedef unsigned long XAtom; |
| 14 typedef unsigned long XID; | 14 typedef unsigned long XID; |
| 15 typedef union _XEvent XEvent; |
| 15 typedef struct _XImage XImage; | 16 typedef struct _XImage XImage; |
| 16 typedef struct _XGC *GC; | 17 typedef struct _XGC *GC; |
| 17 typedef struct _XDisplay XDisplay; | 18 typedef struct _XDisplay XDisplay; |
| 18 typedef struct __GLXFBConfigRec *GLXFBConfig; | 19 typedef struct __GLXFBConfigRec *GLXFBConfig; |
| 19 typedef XID GLXWindow; | 20 typedef XID GLXWindow; |
| 20 typedef XID GLXDrawable; | 21 typedef XID GLXDrawable; |
| 21 | 22 |
| 22 extern "C" { | 23 extern "C" { |
| 23 int XFree(void*); | 24 int XFree(void*); |
| 24 } | 25 } |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 int src_y, | 74 int src_y, |
| 74 int dst_x, | 75 int dst_x, |
| 75 int dst_y, | 76 int dst_y, |
| 76 int copy_width, | 77 int copy_width, |
| 77 int copy_height); | 78 int copy_height); |
| 78 | 79 |
| 79 } // namespace gfx | 80 } // namespace gfx |
| 80 | 81 |
| 81 #endif // UI_GFX_X_X11_UTIL_H_ | 82 #endif // UI_GFX_X_X11_UTIL_H_ |
| 82 | 83 |
| OLD | NEW |