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/events/event.h" | 5 #include "ui/events/event.h" |
6 | 6 |
7 #if defined(USE_X11) | 7 #if defined(USE_X11) |
8 #include <X11/extensions/XInput2.h> | 8 #include <X11/extensions/XInput2.h> |
| 9 #include <X11/keysym.h> |
9 #include <X11/Xlib.h> | 10 #include <X11/Xlib.h> |
10 #include <X11/keysym.h> | |
11 #endif | 11 #endif |
12 | 12 |
13 #include <cmath> | 13 #include <cmath> |
14 #include <cstring> | 14 #include <cstring> |
15 | 15 |
16 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "ui/events/event_utils.h" | 18 #include "ui/events/event_utils.h" |
19 #include "ui/events/keycodes/dom3/dom_code.h" | 19 #include "ui/events/keycodes/dom3/dom_code.h" |
20 #include "ui/events/keycodes/dom3/dom_key.h" | 20 #include "ui/events/keycodes/dom3/dom_key.h" |
21 #include "ui/events/keycodes/dom4/keycode_converter.h" | 21 #include "ui/events/keycodes/dom4/keycode_converter.h" |
22 #include "ui/events/keycodes/keyboard_code_conversion.h" | 22 #include "ui/events/keycodes/keyboard_code_conversion.h" |
| 23 #include "ui/gfx/geometry/point3_f.h" |
| 24 #include "ui/gfx/geometry/point_conversions.h" |
23 #include "ui/gfx/geometry/safe_integer_conversions.h" | 25 #include "ui/gfx/geometry/safe_integer_conversions.h" |
24 #include "ui/gfx/point3_f.h" | |
25 #include "ui/gfx/point_conversions.h" | |
26 #include "ui/gfx/transform.h" | 26 #include "ui/gfx/transform.h" |
27 #include "ui/gfx/transform_util.h" | 27 #include "ui/gfx/transform_util.h" |
28 | 28 |
29 #if defined(USE_X11) | 29 #if defined(USE_X11) |
30 #include "ui/events/keycodes/keyboard_code_conversion_x.h" | 30 #include "ui/events/keycodes/keyboard_code_conversion_x.h" |
31 #elif defined(USE_OZONE) | 31 #elif defined(USE_OZONE) |
32 #include "ui/events/ozone/layout/keyboard_layout_engine.h" | 32 #include "ui/events/ozone/layout/keyboard_layout_engine.h" |
33 #include "ui/events/ozone/layout/keyboard_layout_engine_manager.h" | 33 #include "ui/events/ozone/layout/keyboard_layout_engine_manager.h" |
34 #endif | 34 #endif |
35 | 35 |
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1033 gfx::PointF(x, y), | 1033 gfx::PointF(x, y), |
1034 time_stamp, | 1034 time_stamp, |
1035 flags | EF_FROM_TOUCH), | 1035 flags | EF_FROM_TOUCH), |
1036 details_(details) { | 1036 details_(details) { |
1037 } | 1037 } |
1038 | 1038 |
1039 GestureEvent::~GestureEvent() { | 1039 GestureEvent::~GestureEvent() { |
1040 } | 1040 } |
1041 | 1041 |
1042 } // namespace ui | 1042 } // namespace ui |
OLD | NEW |