OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines utility functions for X11 (Linux only). This code has been | 5 // This file defines utility functions for X11 (Linux only). This code has been |
6 // ported from XCB since we can't use XCB on Ubuntu while its 32-bit support | 6 // ported from XCB since we can't use XCB on Ubuntu while its 32-bit support |
7 // remains woefully incomplete. | 7 // remains woefully incomplete. |
8 | 8 |
9 #include "ui/base/x/x11_util.h" | 9 #include "ui/base/x/x11_util.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include <memory> | 21 #include <memory> |
22 #include <utility> | 22 #include <utility> |
23 #include <vector> | 23 #include <vector> |
24 | 24 |
25 #include "base/bind.h" | 25 #include "base/bind.h" |
26 #include "base/location.h" | 26 #include "base/location.h" |
27 #include "base/logging.h" | 27 #include "base/logging.h" |
28 #include "base/macros.h" | 28 #include "base/macros.h" |
29 #include "base/memory/singleton.h" | 29 #include "base/memory/singleton.h" |
30 #include "base/message_loop/message_loop.h" | 30 #include "base/message_loop/message_loop.h" |
31 #include "base/metrics/histogram.h" | 31 #include "base/metrics/histogram_macros.h" |
32 #include "base/single_thread_task_runner.h" | 32 #include "base/single_thread_task_runner.h" |
33 #include "base/stl_util.h" | 33 #include "base/stl_util.h" |
34 #include "base/strings/string_number_conversions.h" | 34 #include "base/strings/string_number_conversions.h" |
35 #include "base/strings/string_util.h" | 35 #include "base/strings/string_util.h" |
36 #include "base/strings/stringprintf.h" | 36 #include "base/strings/stringprintf.h" |
37 #include "base/sys_byteorder.h" | 37 #include "base/sys_byteorder.h" |
38 #include "base/threading/thread.h" | 38 #include "base/threading/thread.h" |
39 #include "base/threading/thread_task_runner_handle.h" | 39 #include "base/threading/thread_task_runner_handle.h" |
40 #include "base/trace_event/trace_event.h" | 40 #include "base/trace_event/trace_event.h" |
41 #include "build/build_config.h" | 41 #include "build/build_config.h" |
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1475 return colormap_; | 1475 return colormap_; |
1476 } | 1476 } |
1477 | 1477 |
1478 #endif | 1478 #endif |
1479 | 1479 |
1480 // ---------------------------------------------------------------------------- | 1480 // ---------------------------------------------------------------------------- |
1481 // End of x11_util_internal.h | 1481 // End of x11_util_internal.h |
1482 | 1482 |
1483 | 1483 |
1484 } // namespace ui | 1484 } // namespace ui |
OLD | NEW |