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 25 matching lines...) Expand all Loading... |
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/event_utils.h" | 41 #include "ui/events/event_utils.h" |
42 #include "ui/events/keycodes/keyboard_code_conversion_x.h" | 42 #include "ui/events/keycodes/keyboard_code_conversion_x.h" |
43 #include "ui/events/x/device_data_manager_x11.h" | 43 #include "ui/events/x/device_data_manager_x11.h" |
44 #include "ui/events/x/touch_factory_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/point.h" |
46 #include "ui/gfx/image/image_skia.h" | 47 #include "ui/gfx/image/image_skia.h" |
47 #include "ui/gfx/image/image_skia_rep.h" | 48 #include "ui/gfx/image/image_skia_rep.h" |
48 #include "ui/gfx/point.h" | |
49 #include "ui/gfx/point_conversions.h" | 49 #include "ui/gfx/point_conversions.h" |
50 #include "ui/gfx/rect.h" | 50 #include "ui/gfx/rect.h" |
51 #include "ui/gfx/size.h" | 51 #include "ui/gfx/size.h" |
52 #include "ui/gfx/skia_util.h" | 52 #include "ui/gfx/skia_util.h" |
53 #include "ui/gfx/x/x11_error_tracker.h" | 53 #include "ui/gfx/x/x11_error_tracker.h" |
54 | 54 |
55 #if defined(OS_FREEBSD) | 55 #if defined(OS_FREEBSD) |
56 #include <sys/sysctl.h> | 56 #include <sys/sysctl.h> |
57 #include <sys/types.h> | 57 #include <sys/types.h> |
58 #endif | 58 #endif |
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1413 << "request_code " << static_cast<int>(error_event.request_code) << ", " | 1413 << "request_code " << static_cast<int>(error_event.request_code) << ", " |
1414 << "minor_code " << static_cast<int>(error_event.minor_code) | 1414 << "minor_code " << static_cast<int>(error_event.minor_code) |
1415 << " (" << request_str << ")"; | 1415 << " (" << request_str << ")"; |
1416 } | 1416 } |
1417 | 1417 |
1418 // ---------------------------------------------------------------------------- | 1418 // ---------------------------------------------------------------------------- |
1419 // End of x11_util_internal.h | 1419 // End of x11_util_internal.h |
1420 | 1420 |
1421 | 1421 |
1422 } // namespace ui | 1422 } // namespace ui |
OLD | NEW |