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

Unified Diff: chrome/common/x11_util.h

Issue 159753: Linux: Fix Valgrind error in VisitedLinkEventsTest.Coalescense. (Closed)
Patch Set: Created 11 years, 5 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 | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/common/x11_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/x11_util.h
diff --git a/chrome/common/x11_util.h b/chrome/common/x11_util.h
index d9bcbb59fb47c0505e48cd2cd4407b682544d00f..09b1c2b446681c1bbec3e80da4785b55548f15cd 100644
--- a/chrome/common/x11_util.h
+++ b/chrome/common/x11_util.h
@@ -34,6 +34,8 @@ namespace x11_util {
// These functions cache their results.
+// Check if there's an open connection to an X server.
+bool XDisplayExists();
// Return an X11 connection for the current, primary display.
Display* GetXDisplay();
// Return true iff the connection supports X shared memory
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/common/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698