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 "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
9 #include "base/trace_event/trace_event.h" | 9 #include "base/trace_event/trace_event.h" |
10 #include "cc/input/input_handler.h" | 10 #include "cc/input/input_handler.h" |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 void InputHandlerManager::DidOverscroll(int routing_id, | 154 void InputHandlerManager::DidOverscroll(int routing_id, |
155 const DidOverscrollParams& params) { | 155 const DidOverscrollParams& params) { |
156 client_->DidOverscroll(routing_id, params); | 156 client_->DidOverscroll(routing_id, params); |
157 } | 157 } |
158 | 158 |
159 void InputHandlerManager::DidStopFlinging(int routing_id) { | 159 void InputHandlerManager::DidStopFlinging(int routing_id) { |
160 client_->DidStopFlinging(routing_id); | 160 client_->DidStopFlinging(routing_id); |
161 } | 161 } |
162 | 162 |
163 void InputHandlerManager::DidReceiveInputEvent( | 163 void InputHandlerManager::DidReceiveInputEvent( |
164 blink::WebInputEvent::Type type) { | 164 const blink::WebInputEvent& web_input_event) { |
165 renderer_scheduler_->DidReceiveInputEventOnCompositorThread(type); | 165 renderer_scheduler_->DidReceiveInputEventOnCompositorThread(web_input_event); |
166 } | 166 } |
167 | 167 |
168 void InputHandlerManager::DidAnimateForInput() { | 168 void InputHandlerManager::DidAnimateForInput() { |
169 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); | 169 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); |
170 } | 170 } |
171 | 171 |
172 } // namespace content | 172 } // namespace content |
OLD | NEW |