| 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 "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
| 12 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
| 13 #include "content/browser/renderer_host/input/gesture_event_queue.h" | 13 #include "content/browser/renderer_host/input/gesture_event_queue.h" |
| 14 #include "content/browser/renderer_host/input/input_ack_handler.h" | 14 #include "content/browser/renderer_host/input/input_ack_handler.h" |
| 15 #include "content/browser/renderer_host/input/input_router_client.h" | 15 #include "content/browser/renderer_host/input/input_router_client.h" |
| 16 #include "content/browser/renderer_host/input/touch_event_queue.h" | 16 #include "content/browser/renderer_host/input/touch_event_queue.h" |
| 17 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle
r.h" | 17 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle
r.h" |
| 18 #include "content/browser/renderer_host/overscroll_controller.h" | 18 #include "content/browser/renderer_host/overscroll_controller.h" |
| 19 #include "content/common/content_constants_internal.h" | 19 #include "content/common/content_constants_internal.h" |
| 20 #include "content/common/edit_command.h" | 20 #include "content/common/edit_command.h" |
| 21 #include "content/common/input/input_event_ack_state.h" |
| 21 #include "content/common/input/touch_action.h" | 22 #include "content/common/input/touch_action.h" |
| 22 #include "content/common/input/web_touch_event_traits.h" | 23 #include "content/common/input/web_touch_event_traits.h" |
| 23 #include "content/common/input_messages.h" | 24 #include "content/common/input_messages.h" |
| 24 #include "content/common/view_messages.h" | 25 #include "content/common/view_messages.h" |
| 25 #include "content/port/common/input_event_ack_state.h" | |
| 26 #include "content/public/browser/notification_service.h" | 26 #include "content/public/browser/notification_service.h" |
| 27 #include "content/public/browser/notification_types.h" | 27 #include "content/public/browser/notification_types.h" |
| 28 #include "content/public/browser/user_metrics.h" | 28 #include "content/public/browser/user_metrics.h" |
| 29 #include "content/public/common/content_switches.h" | 29 #include "content/public/common/content_switches.h" |
| 30 #include "ipc/ipc_sender.h" | 30 #include "ipc/ipc_sender.h" |
| 31 #include "ui/events/event.h" | 31 #include "ui/events/event.h" |
| 32 #include "ui/events/keycodes/keyboard_codes.h" | 32 #include "ui/events/keycodes/keyboard_codes.h" |
| 33 | 33 |
| 34 using base::Time; | 34 using base::Time; |
| 35 using base::TimeDelta; | 35 using base::TimeDelta; |
| (...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 InputRouterImpl::QueuedWheelEvent::QueuedWheelEvent( | 739 InputRouterImpl::QueuedWheelEvent::QueuedWheelEvent( |
| 740 const MouseWheelEventWithLatencyInfo& event, | 740 const MouseWheelEventWithLatencyInfo& event, |
| 741 bool synthesized_from_pinch) | 741 bool synthesized_from_pinch) |
| 742 : event(event), synthesized_from_pinch(synthesized_from_pinch) { | 742 : event(event), synthesized_from_pinch(synthesized_from_pinch) { |
| 743 } | 743 } |
| 744 | 744 |
| 745 InputRouterImpl::QueuedWheelEvent::~QueuedWheelEvent() { | 745 InputRouterImpl::QueuedWheelEvent::~QueuedWheelEvent() { |
| 746 } | 746 } |
| 747 | 747 |
| 748 } // namespace content | 748 } // namespace content |
| OLD | NEW |