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/input_router_impl.h" | 5 #include "content/browser/renderer_host/input/input_router_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle
r.h" | 22 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle
r.h" |
23 #include "content/common/content_constants_internal.h" | 23 #include "content/common/content_constants_internal.h" |
24 #include "content/common/edit_command.h" | 24 #include "content/common/edit_command.h" |
25 #include "content/common/input/input_event_ack_state.h" | 25 #include "content/common/input/input_event_ack_state.h" |
26 #include "content/common/input/touch_action.h" | 26 #include "content/common/input/touch_action.h" |
27 #include "content/common/input/web_touch_event_traits.h" | 27 #include "content/common/input/web_touch_event_traits.h" |
28 #include "content/common/input_messages.h" | 28 #include "content/common/input_messages.h" |
29 #include "content/common/view_messages.h" | 29 #include "content/common/view_messages.h" |
30 #include "content/public/browser/notification_service.h" | 30 #include "content/public/browser/notification_service.h" |
31 #include "content/public/browser/notification_types.h" | 31 #include "content/public/browser/notification_types.h" |
32 #include "content/public/browser/user_metrics.h" | |
33 #include "content/public/common/content_features.h" | 32 #include "content/public/common/content_features.h" |
34 #include "content/public/common/content_switches.h" | 33 #include "content/public/common/content_switches.h" |
35 #include "ipc/ipc_sender.h" | 34 #include "ipc/ipc_sender.h" |
36 #include "ui/events/blink/blink_event_util.h" | 35 #include "ui/events/blink/blink_event_util.h" |
37 #include "ui/events/blink/web_input_event_traits.h" | 36 #include "ui/events/blink/web_input_event_traits.h" |
38 #include "ui/events/event.h" | 37 #include "ui/events/event.h" |
39 #include "ui/events/keycodes/keyboard_codes.h" | 38 #include "ui/events/keycodes/keyboard_codes.h" |
40 | 39 |
41 using base::Time; | 40 using base::Time; |
42 using base::TimeDelta; | 41 using base::TimeDelta; |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 DCHECK(global_touch_position_.find(touch_point->id) == | 668 DCHECK(global_touch_position_.find(touch_point->id) == |
670 global_touch_position_.end()); | 669 global_touch_position_.end()); |
671 global_touch_position_[touch_point->id] = gfx::Point( | 670 global_touch_position_[touch_point->id] = gfx::Point( |
672 touch_point->screenPosition.x, touch_point->screenPosition.y); | 671 touch_point->screenPosition.x, touch_point->screenPosition.y); |
673 } | 672 } |
674 } | 673 } |
675 } | 674 } |
676 } | 675 } |
677 | 676 |
678 } // namespace content | 677 } // namespace content |
OLD | NEW |