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 20 matching lines...) Expand all Loading... |
31 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
32 #include "base/strings/string_util.h" | 32 #include "base/strings/string_util.h" |
33 #include "base/strings/stringprintf.h" | 33 #include "base/strings/stringprintf.h" |
34 #include "base/sys_byteorder.h" | 34 #include "base/sys_byteorder.h" |
35 #include "base/threading/thread.h" | 35 #include "base/threading/thread.h" |
36 #include "skia/ext/image_operations.h" | 36 #include "skia/ext/image_operations.h" |
37 #include "third_party/skia/include/core/SkBitmap.h" | 37 #include "third_party/skia/include/core/SkBitmap.h" |
38 #include "third_party/skia/include/core/SkPostConfig.h" | 38 #include "third_party/skia/include/core/SkPostConfig.h" |
39 #include "ui/base/x/x11_menu_list.h" | 39 #include "ui/base/x/x11_menu_list.h" |
40 #include "ui/base/x/x11_util_internal.h" | 40 #include "ui/base/x/x11_util_internal.h" |
| 41 #include "ui/events/devices/x11/device_data_manager_x11.h" |
| 42 #include "ui/events/devices/x11/touch_factory_x11.h" |
41 #include "ui/events/event_utils.h" | 43 #include "ui/events/event_utils.h" |
42 #include "ui/events/keycodes/keyboard_code_conversion_x.h" | 44 #include "ui/events/keycodes/keyboard_code_conversion_x.h" |
43 #include "ui/events/x/device_data_manager_x11.h" | |
44 #include "ui/events/x/touch_factory_x11.h" | |
45 #include "ui/gfx/canvas.h" | 45 #include "ui/gfx/canvas.h" |
46 #include "ui/gfx/geometry/insets.h" | 46 #include "ui/gfx/geometry/insets.h" |
47 #include "ui/gfx/geometry/point.h" | 47 #include "ui/gfx/geometry/point.h" |
48 #include "ui/gfx/geometry/point_conversions.h" | 48 #include "ui/gfx/geometry/point_conversions.h" |
49 #include "ui/gfx/geometry/rect.h" | 49 #include "ui/gfx/geometry/rect.h" |
50 #include "ui/gfx/geometry/size.h" | 50 #include "ui/gfx/geometry/size.h" |
51 #include "ui/gfx/image/image_skia.h" | 51 #include "ui/gfx/image/image_skia.h" |
52 #include "ui/gfx/image/image_skia_rep.h" | 52 #include "ui/gfx/image/image_skia_rep.h" |
53 #include "ui/gfx/skia_util.h" | 53 #include "ui/gfx/skia_util.h" |
54 #include "ui/gfx/x/x11_error_tracker.h" | 54 #include "ui/gfx/x/x11_error_tracker.h" |
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1495 << "request_code " << static_cast<int>(error_event.request_code) << ", " | 1495 << "request_code " << static_cast<int>(error_event.request_code) << ", " |
1496 << "minor_code " << static_cast<int>(error_event.minor_code) | 1496 << "minor_code " << static_cast<int>(error_event.minor_code) |
1497 << " (" << request_str << ")"; | 1497 << " (" << request_str << ")"; |
1498 } | 1498 } |
1499 | 1499 |
1500 // ---------------------------------------------------------------------------- | 1500 // ---------------------------------------------------------------------------- |
1501 // End of x11_util_internal.h | 1501 // End of x11_util_internal.h |
1502 | 1502 |
1503 | 1503 |
1504 } // namespace ui | 1504 } // namespace ui |
OLD | NEW |