1a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch// Copyright 2014 The Chromium Authors. All rights reserved. 2a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch// Use of this source code is governed by a BSD-style license that can be 3a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch// found in the LICENSE file. 4a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 5a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch#ifndef UI_GFX_X_X11_CONNECTION_H_ 6a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch#define UI_GFX_X_X11_CONNECTION_H_ 7a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 8a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch#include "ui/gfx/gfx_export.h" 9a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 10a02191e04bc25c4935f804f2c080ae28663d096dBen Murdochnamespace gfx { 11a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 12a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch// Initializes thread support for X11, and opens a connection to the display. 13a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch// Return false if either fails, and true otherwise. 14a02191e04bc25c4935f804f2c080ae28663d096dBen MurdochGFX_EXPORT bool InitializeThreadedX11(); 15a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 16a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch} // namespace gfx 17a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 18a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch#endif // UI_GFX_X_X11_CONNECTION_H_ 19