OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_GFX_X_X11_UTIL_H_ |
| 6 #define UI_GFX_X_X11_UTIL_H_ |
| 7 |
| 8 #include "ui/gfx/gfx_export.h" |
| 9 |
| 10 typedef unsigned long XID; |
| 11 typedef struct _XImage XImage; |
| 12 typedef struct _XGC *GC; |
| 13 typedef struct _XDisplay XDisplay; |
| 14 |
| 15 namespace gfx { |
| 16 |
| 17 // TODO(oshima|evan): This assume there is one display and doesn't work |
| 18 // undef multiple displays/monitor environment. Remove this and change the |
| 19 // chrome codebase to get the display from window. |
| 20 GFX_EXPORT XDisplay* GetXDisplay(); |
| 21 |
| 22 } // namespace gfx |
| 23 |
| 24 #endif // UI_GFX_X_X11_UTIL_H_ |
| 25 |
OLD | NEW |