[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / ui / gfx / x / x11_connection.h
blob06ca89fe8000c32a5446bf0cd941afeff0f10d1c
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_GFX_X_X11_CONNECTION_H_
6 #define UI_GFX_X_X11_CONNECTION_H_
8 #include "ui/gfx/gfx_export.h"
10 namespace gfx {
12 // Initializes thread support for X11, and opens a connection to the display.
13 // Return false if either fails, and true otherwise.
14 GFX_EXPORT bool InitializeThreadedX11();
16 } // namespace gfx
18 #endif // UI_GFX_X_X11_CONNECTION_H_