| 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 <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "ui/gfx/gfx_export.h" | 12 #include "ui/gfx/gfx_export.h" |
| 13 | 13 |
| 14 typedef unsigned long XAtom; | 14 typedef unsigned long XAtom; |
| 15 typedef unsigned long XID; | 15 typedef unsigned long XID; |
| 16 typedef unsigned long VisualID; |
| 16 typedef struct _XcursorImage XcursorImage; | 17 typedef struct _XcursorImage XcursorImage; |
| 17 typedef union _XEvent XEvent; | 18 typedef union _XEvent XEvent; |
| 18 typedef struct _XImage XImage; | 19 typedef struct _XImage XImage; |
| 19 typedef struct _XGC *GC; | 20 typedef struct _XGC *GC; |
| 20 typedef struct _XDisplay XDisplay; | 21 typedef struct _XDisplay XDisplay; |
| 21 typedef struct __GLXFBConfigRec *GLXFBConfig; | 22 typedef struct __GLXFBConfigRec *GLXFBConfig; |
| 22 typedef XID GLXWindow; | 23 typedef XID GLXWindow; |
| 23 typedef XID GLXDrawable; | 24 typedef XID GLXDrawable; |
| 24 | 25 |
| 25 extern "C" { | 26 extern "C" { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 int src_x, | 76 int src_x, |
| 76 int src_y, | 77 int src_y, |
| 77 int dst_x, | 78 int dst_x, |
| 78 int dst_y, | 79 int dst_y, |
| 79 int copy_width, | 80 int copy_width, |
| 80 int copy_height); | 81 int copy_height); |
| 81 | 82 |
| 82 } // namespace gfx | 83 } // namespace gfx |
| 83 | 84 |
| 84 #endif // UI_GFX_X_X11_UTIL_H_ | 85 #endif // UI_GFX_X_X11_UTIL_H_ |
| 85 | |
| OLD | NEW |