diff options
Diffstat (limited to 'chromium/ui/gfx/x/x11_connection.h')
-rw-r--r-- | chromium/ui/gfx/x/x11_connection.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chromium/ui/gfx/x/x11_connection.h b/chromium/ui/gfx/x/x11_connection.h new file mode 100644 index 00000000000..06ca89fe800 --- /dev/null +++ b/chromium/ui/gfx/x/x11_connection.h @@ -0,0 +1,18 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef UI_GFX_X_X11_CONNECTION_H_ +#define UI_GFX_X_X11_CONNECTION_H_ + +#include "ui/gfx/gfx_export.h" + +namespace gfx { + +// Initializes thread support for X11, and opens a connection to the display. +// Return false if either fails, and true otherwise. +GFX_EXPORT bool InitializeThreadedX11(); + +} // namespace gfx + +#endif // UI_GFX_X_X11_CONNECTION_H_ |