OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/renderer_host/input/web_input_event_builders_android.h
" | 5 #include "content/browser/renderer_host/input/web_input_event_builders_android.h
" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/browser/renderer_host/input/motion_event_android.h" | |
9 #include "content/browser/renderer_host/input/web_input_event_util.h" | 8 #include "content/browser/renderer_host/input/web_input_event_util.h" |
| 9 #include "ui/events/android/motion_event_android.h" |
10 #include "ui/events/keycodes/dom/dom_code.h" | 10 #include "ui/events/keycodes/dom/dom_code.h" |
11 #include "ui/events/keycodes/dom/keycode_converter.h" | 11 #include "ui/events/keycodes/dom/keycode_converter.h" |
12 #include "ui/events/keycodes/keyboard_code_conversion.h" | 12 #include "ui/events/keycodes/keyboard_code_conversion.h" |
13 #include "ui/events/keycodes/keyboard_code_conversion_android.h" | 13 #include "ui/events/keycodes/keyboard_code_conversion_android.h" |
14 #include "ui/events/keycodes/keyboard_codes_posix.h" | 14 #include "ui/events/keycodes/keyboard_codes_posix.h" |
15 | 15 |
16 using blink::WebInputEvent; | 16 using blink::WebInputEvent; |
17 using blink::WebKeyboardEvent; | 17 using blink::WebKeyboardEvent; |
18 using blink::WebGestureEvent; | 18 using blink::WebGestureEvent; |
19 using blink::WebMouseEvent; | 19 using blink::WebMouseEvent; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 result.type = type; | 131 result.type = type; |
132 result.x = x; | 132 result.x = x; |
133 result.y = y; | 133 result.y = y; |
134 result.timeStampSeconds = time_sec; | 134 result.timeStampSeconds = time_sec; |
135 result.sourceDevice = blink::WebGestureDeviceTouchscreen; | 135 result.sourceDevice = blink::WebGestureDeviceTouchscreen; |
136 | 136 |
137 return result; | 137 return result; |
138 } | 138 } |
139 | 139 |
140 } // namespace content | 140 } // namespace content |
OLD | NEW |