OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/render_widget_host_view_event_handler.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_event_handler.h" |
6 | 6 |
| 7 #include "base/metrics/user_metrics.h" |
7 #include "base/metrics/user_metrics_action.h" | 8 #include "base/metrics/user_metrics_action.h" |
8 #include "content/browser/renderer_host/input/touch_selection_controller_client_
aura.h" | 9 #include "content/browser/renderer_host/input/touch_selection_controller_client_
aura.h" |
9 #include "content/browser/renderer_host/overscroll_controller.h" | 10 #include "content/browser/renderer_host/overscroll_controller.h" |
10 #include "content/browser/renderer_host/render_view_host_delegate.h" | 11 #include "content/browser/renderer_host/render_view_host_delegate.h" |
11 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 12 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
12 #include "content/browser/renderer_host/render_widget_host_impl.h" | 13 #include "content/browser/renderer_host/render_widget_host_impl.h" |
13 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 14 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
14 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 15 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
15 #include "content/browser/renderer_host/text_input_manager.h" | 16 #include "content/browser/renderer_host/text_input_manager.h" |
16 #include "content/common/content_switches_internal.h" | 17 #include "content/common/content_switches_internal.h" |
17 #include "content/common/site_isolation_policy.h" | 18 #include "content/common/site_isolation_policy.h" |
18 #include "content/public/browser/render_view_host.h" | 19 #include "content/public/browser/render_view_host.h" |
19 #include "content/public/browser/render_widget_host.h" | 20 #include "content/public/browser/render_widget_host.h" |
20 #include "content/public/browser/user_metrics.h" | |
21 #include "ui/aura/client/cursor_client.h" | 21 #include "ui/aura/client/cursor_client.h" |
22 #include "ui/aura/client/focus_client.h" | 22 #include "ui/aura/client/focus_client.h" |
23 #include "ui/aura/client/screen_position_client.h" | 23 #include "ui/aura/client/screen_position_client.h" |
24 #include "ui/aura/window.h" | 24 #include "ui/aura/window.h" |
25 #include "ui/aura/window_delegate.h" | 25 #include "ui/aura/window_delegate.h" |
26 #include "ui/base/ime/text_input_client.h" | 26 #include "ui/base/ime/text_input_client.h" |
27 #include "ui/events/blink/blink_event_util.h" | 27 #include "ui/events/blink/blink_event_util.h" |
28 #include "ui/events/blink/web_input_event.h" | 28 #include "ui/events/blink/web_input_event.h" |
29 #include "ui/touch_selection/touch_selection_controller.h" | 29 #include "ui/touch_selection/touch_selection_controller.h" |
30 | 30 |
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 host_->ForwardWheelEventWithLatencyInfo(event, latency); | 876 host_->ForwardWheelEventWithLatencyInfo(event, latency); |
877 } | 877 } |
878 | 878 |
879 void RenderWidgetHostViewEventHandler::ProcessTouchEvent( | 879 void RenderWidgetHostViewEventHandler::ProcessTouchEvent( |
880 const blink::WebTouchEvent& event, | 880 const blink::WebTouchEvent& event, |
881 const ui::LatencyInfo& latency) { | 881 const ui::LatencyInfo& latency) { |
882 host_->ForwardTouchEventWithLatencyInfo(event, latency); | 882 host_->ForwardTouchEventWithLatencyInfo(event, latency); |
883 } | 883 } |
884 | 884 |
885 } // namespace content | 885 } // namespace content |
OLD | NEW |