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_wrapper.h" | 5 #include "content/renderer/input/input_handler_wrapper.h" |
6 | 6 |
7 #include "base/message_loop/message_loop_proxy.h" | 7 #include "base/message_loop/message_loop_proxy.h" |
8 #include "content/renderer/input/input_event_filter.h" | 8 #include "content/renderer/input/input_event_filter.h" |
9 #include "content/renderer/input/input_handler_manager.h" | 9 #include "content/renderer/input/input_handler_manager.h" |
10 #include "third_party/WebKit/public/platform/Platform.h" | 10 #include "third_party/WebKit/public/platform/Platform.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 } | 50 } |
51 | 51 |
52 void InputHandlerWrapper::DidOverscroll(const DidOverscrollParams& params) { | 52 void InputHandlerWrapper::DidOverscroll(const DidOverscrollParams& params) { |
53 input_handler_manager_->DidOverscroll(routing_id_, params); | 53 input_handler_manager_->DidOverscroll(routing_id_, params); |
54 } | 54 } |
55 | 55 |
56 void InputHandlerWrapper::DidStopFlinging() { | 56 void InputHandlerWrapper::DidStopFlinging() { |
57 input_handler_manager_->DidStopFlinging(routing_id_); | 57 input_handler_manager_->DidStopFlinging(routing_id_); |
58 } | 58 } |
59 | 59 |
60 void InputHandlerWrapper::DidReceiveInputEvent() { | 60 void InputHandlerWrapper::DidReceiveInputEvent( |
61 // TODO(skyostil): Hook this up into the renderer scheduler. | 61 blink::WebInputEvent::Type type) { |
| 62 input_handler_manager_->DidReceiveInputEvent(type); |
| 63 } |
| 64 |
| 65 void InputHandlerWrapper::DidAnimateForInput() { |
| 66 input_handler_manager_->DidAnimateForInput(); |
62 } | 67 } |
63 | 68 |
64 } // namespace content | 69 } // namespace content |
OLD | NEW |