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/threading/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/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; |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 247 |
248 void InputHandlerManager::DidStopFlinging(int routing_id) { | 248 void InputHandlerManager::DidStopFlinging(int routing_id) { |
249 client_->DidStopFlinging(routing_id); | 249 client_->DidStopFlinging(routing_id); |
250 } | 250 } |
251 | 251 |
252 void InputHandlerManager::DidAnimateForInput() { | 252 void InputHandlerManager::DidAnimateForInput() { |
253 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); | 253 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); |
254 } | 254 } |
255 | 255 |
256 } // namespace content | 256 } // namespace content |
OLD | NEW |