Index: ui/gfx/x/x11_types.h |
diff --git a/ui/gfx/x/x11_types.h b/ui/gfx/x/x11_types.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..eab42f2352b4fc37ec70b95f96f45178b5adcb5d |
--- /dev/null |
+++ b/ui/gfx/x/x11_types.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_GFX_X_X11_UTIL_H_ |
+#define UI_GFX_X_X11_UTIL_H_ |
+ |
+#include "ui/gfx/gfx_export.h" |
+ |
+typedef unsigned long XID; |
+typedef struct _XImage XImage; |
+typedef struct _XGC *GC; |
+typedef struct _XDisplay XDisplay; |
+ |
+namespace gfx { |
+ |
+// TODO(oshima|evan): This assume there is one display and doesn't work |
+// undef multiple displays/monitor environment. Remove this and change the |
+// chrome codebase to get the display from window. |
+GFX_EXPORT XDisplay* GetXDisplay(); |
+ |
+} // namespace gfx |
+ |
+#endif // UI_GFX_X_X11_UTIL_H_ |
+ |