| 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" |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 break; | 238 break; |
| 239 } | 239 } |
| 240 return input_event_ack_state; | 240 return input_event_ack_state; |
| 241 } | 241 } |
| 242 | 242 |
| 243 void InputHandlerManager::DidOverscroll(int routing_id, | 243 void InputHandlerManager::DidOverscroll(int routing_id, |
| 244 const DidOverscrollParams& params) { | 244 const DidOverscrollParams& params) { |
| 245 client_->DidOverscroll(routing_id, params); | 245 client_->DidOverscroll(routing_id, params); |
| 246 } | 246 } |
| 247 | 247 |
| 248 void InputHandlerManager::DidStartFlinging(int routing_id) { |
| 249 client_->DidStartFlinging(routing_id); |
| 250 } |
| 251 |
| 248 void InputHandlerManager::DidStopFlinging(int routing_id) { | 252 void InputHandlerManager::DidStopFlinging(int routing_id) { |
| 249 client_->DidStopFlinging(routing_id); | 253 client_->DidStopFlinging(routing_id); |
| 250 } | 254 } |
| 251 | 255 |
| 252 void InputHandlerManager::DidAnimateForInput() { | 256 void InputHandlerManager::DidAnimateForInput() { |
| 253 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); | 257 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); |
| 254 } | 258 } |
| 255 | 259 |
| 256 } // namespace content | 260 } // namespace content |
| OLD | NEW |