[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / ui / gfx / x / x11_connection.cc
blobc5ee77f40d8f048cb912a074f71c13da00377268
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 #include "ui/gfx/x/x11_connection.h"
7 #include <X11/Xlib.h>
9 #include "ui/gfx/x/x11_types.h"
11 namespace gfx {
13 bool InitializeThreadedX11() {
14 return XInitThreads() && gfx::GetXDisplay();
17 } // namespace gfx