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 union _XEvent XEvent; |
16 typedef struct _XImage XImage; | 17 typedef struct _XImage XImage; |
17 typedef struct _XGC *GC; | 18 typedef struct _XGC *GC; |
18 typedef struct _XDisplay XDisplay; | 19 typedef struct _XDisplay XDisplay; |
19 typedef struct __GLXFBConfigRec *GLXFBConfig; | 20 typedef struct __GLXFBConfigRec *GLXFBConfig; |
20 typedef XID GLXWindow; | 21 typedef XID GLXWindow; |
21 typedef XID GLXDrawable; | 22 typedef XID GLXDrawable; |
22 | 23 |
23 extern "C" { | 24 extern "C" { |
24 int XFree(void*); | 25 int XFree(void*); |
25 } | 26 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 int src_y, | 75 int src_y, |
75 int dst_x, | 76 int dst_x, |
76 int dst_y, | 77 int dst_y, |
77 int copy_width, | 78 int copy_width, |
78 int copy_height); | 79 int copy_height); |
79 | 80 |
80 } // namespace gfx | 81 } // namespace gfx |
81 | 82 |
82 #endif // UI_GFX_X_X11_UTIL_H_ | 83 #endif // UI_GFX_X_X11_UTIL_H_ |
83 | 84 |
OLD | NEW |