Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: ui/gfx/x/x11_types.h

Issue 297983005: linux_aura: Bail early if we can't connect to the X11 server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to TOT and resolve conflicts. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/x/x11_switches.cc ('k') | ui/gfx/x/x11_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/gfx/x/x11_switches.cc ('k') | ui/gfx/x/x11_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698