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 #include "ui/base/events/event_constants.h" | 5 #include "ui/base/events/event_constants.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 #include <X11/extensions/XInput.h> | 8 #include <X11/extensions/XInput.h> |
9 #include <X11/extensions/XInput2.h> | 9 #include <X11/extensions/XInput2.h> |
10 #include <X11/Xlib.h> | 10 #include <X11/Xlib.h> |
11 | 11 |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
15 #include "base/message_pump_aurax11.h" | 15 #include "base/message_pump_aurax11.h" |
16 #include "base/string_number_conversions.h" | 16 #include "base/string_number_conversions.h" |
17 #include "base/string_split.h" | 17 #include "base/strings/string_split.h" |
18 #include "ui/base/events/event_utils.h" | 18 #include "ui/base/events/event_utils.h" |
19 #include "ui/base/keycodes/keyboard_code_conversion_x.h" | 19 #include "ui/base/keycodes/keyboard_code_conversion_x.h" |
20 #include "ui/base/touch/touch_factory.h" | 20 #include "ui/base/touch/touch_factory.h" |
21 #include "ui/base/ui_base_switches.h" | 21 #include "ui/base/ui_base_switches.h" |
22 #include "ui/base/x/device_list_cache_x.h" | 22 #include "ui/base/x/device_list_cache_x.h" |
23 #include "ui/base/x/valuators.h" | 23 #include "ui/base/x/valuators.h" |
24 #include "ui/base/x/x11_atom_cache.h" | 24 #include "ui/base/x/x11_atom_cache.h" |
25 #include "ui/base/x/x11_util.h" | 25 #include "ui/base/x/x11_util.h" |
26 #include "ui/gfx/display.h" | 26 #include "ui/gfx/display.h" |
27 #include "ui/gfx/point.h" | 27 #include "ui/gfx/point.h" |
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 noop->xclient.format = 8; | 1211 noop->xclient.format = 8; |
1212 DCHECK(!noop->xclient.display); | 1212 DCHECK(!noop->xclient.display); |
1213 } | 1213 } |
1214 // Make sure we use atom from current xdisplay, which may | 1214 // Make sure we use atom from current xdisplay, which may |
1215 // change during the test. | 1215 // change during the test. |
1216 noop->xclient.message_type = GetNoopEventAtom(); | 1216 noop->xclient.message_type = GetNoopEventAtom(); |
1217 return noop; | 1217 return noop; |
1218 } | 1218 } |
1219 | 1219 |
1220 } // namespace ui | 1220 } // namespace ui |
OLD | NEW |