| 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/renderer/input/input_handler_manager.h" | 5 #include "content/renderer/input/input_handler_manager.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
| 12 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
| 13 #include "base/trace_event/trace_event.h" | 13 #include "base/trace_event/trace_event.h" |
| 14 #include "cc/input/input_handler.h" | 14 #include "cc/input/input_handler.h" |
| 15 #include "components/scheduler/renderer/renderer_scheduler.h" | 15 #include "components/scheduler/renderer/renderer_scheduler.h" |
| 16 #include "content/common/input/web_input_event_traits.h" | 16 #include "content/public/common/input/web_input_event_traits.h" |
| 17 #include "content/renderer/input/input_event_filter.h" | 17 #include "content/renderer/input/input_event_filter.h" |
| 18 #include "content/renderer/input/input_handler_manager_client.h" | 18 #include "content/renderer/input/input_handler_manager_client.h" |
| 19 #include "content/renderer/input/input_handler_wrapper.h" | 19 #include "content/renderer/input/input_handler_wrapper.h" |
| 20 #include "ui/events/blink/input_handler_proxy.h" | 20 #include "ui/events/blink/input_handler_proxy.h" |
| 21 | 21 |
| 22 using blink::WebInputEvent; | 22 using blink::WebInputEvent; |
| 23 using ui::InputHandlerProxy; | 23 using ui::InputHandlerProxy; |
| 24 using scheduler::RendererScheduler; | 24 using scheduler::RendererScheduler; |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 186 |
| 187 void InputHandlerManager::DidStopFlinging(int routing_id) { | 187 void InputHandlerManager::DidStopFlinging(int routing_id) { |
| 188 client_->DidStopFlinging(routing_id); | 188 client_->DidStopFlinging(routing_id); |
| 189 } | 189 } |
| 190 | 190 |
| 191 void InputHandlerManager::DidAnimateForInput() { | 191 void InputHandlerManager::DidAnimateForInput() { |
| 192 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); | 192 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); |
| 193 } | 193 } |
| 194 | 194 |
| 195 } // namespace content | 195 } // namespace content |
| OLD | NEW |