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

Unified Diff: ui/base/x/x11_util.h

Issue 52823002: x11: Move XInput2 availability information out of the message pump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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/aura/root_window_host_x11.cc ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/x11_util.h
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h
index 5f3e5021f3a4578f187d5841190da21743aa663b..9cc8e4d9d2e29b0636405e31dc4e3d3cf0666863 100644
--- a/ui/base/x/x11_util.h
+++ b/ui/base/x/x11_util.h
@@ -51,7 +51,9 @@ namespace ui {
// Check if there's an open connection to an X server.
UI_EXPORT bool XDisplayExists();
-// Return an X11 connection for the current, primary display.
+
+// Returns true if the system supports XINPUT2.
+UI_EXPORT bool IsXInput2Available();
// X shared memory comes in three flavors:
// 1) No SHM support,
« no previous file with comments | « ui/aura/root_window_host_x11.cc ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698