Index: ui/gfx/x/x11_types.h |
diff --git a/ui/gfx/x/x11_types.h b/ui/gfx/x/x11_types.h |
index 0f96fdc6a89e47a432ad28f55599ab8497b885a1..b9f1f9c1fcef49c9bc9cb36be1521a7d2f627acb 100644 |
--- a/ui/gfx/x/x11_types.h |
+++ b/ui/gfx/x/x11_types.h |
@@ -20,6 +20,9 @@ namespace gfx { |
// chrome codebase to get the display from window. |
GFX_EXPORT XDisplay* GetXDisplay(); |
+// This opens a new X11 XDisplay*, taking command line arguments into account. |
+GFX_EXPORT XDisplay* OpenNewXDisplay(); |
+ |
// Return the number of bits-per-pixel for a pixmap of the given depth |
GFX_EXPORT int BitsPerPixelForPixmapDepth(XDisplay* display, int depth); |