diff options
Diffstat (limited to 'chromium/ui/gfx/x/x11_types.h')
-rw-r--r-- | chromium/ui/gfx/x/x11_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/ui/gfx/x/x11_types.h b/chromium/ui/gfx/x/x11_types.h index 0f96fdc6a89..b9f1f9c1fce 100644 --- a/chromium/ui/gfx/x/x11_types.h +++ b/chromium/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); |