| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/gpu/input_handler_wrapper.h" | 5 #include "content/renderer/gpu/input_handler_wrapper.h" |
| 6 | 6 |
| 7 #include "base/message_loop/message_loop_proxy.h" |
| 7 #include "content/renderer/gpu/input_event_filter.h" | 8 #include "content/renderer/gpu/input_event_filter.h" |
| 8 #include "content/renderer/gpu/input_handler_manager.h" | 9 #include "content/renderer/gpu/input_handler_manager.h" |
| 9 #include "third_party/WebKit/public/platform/Platform.h" | 10 #include "third_party/WebKit/public/platform/Platform.h" |
| 10 | 11 |
| 11 namespace content { | 12 namespace content { |
| 12 | 13 |
| 13 InputHandlerWrapper::InputHandlerWrapper( | 14 InputHandlerWrapper::InputHandlerWrapper( |
| 14 InputHandlerManager* input_handler_manager, | 15 InputHandlerManager* input_handler_manager, |
| 15 int routing_id, | 16 int routing_id, |
| 16 const scoped_refptr<base::MessageLoopProxy>& main_loop, | 17 const scoped_refptr<base::MessageLoopProxy>& main_loop, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 } | 51 } |
| 51 | 52 |
| 52 void InputHandlerWrapper::DidOverscroll(gfx::Vector2dF accumulated_overscroll, | 53 void InputHandlerWrapper::DidOverscroll(gfx::Vector2dF accumulated_overscroll, |
| 53 gfx::Vector2dF current_fling_velocity) { | 54 gfx::Vector2dF current_fling_velocity) { |
| 54 input_handler_manager_->DidOverscroll(routing_id_, | 55 input_handler_manager_->DidOverscroll(routing_id_, |
| 55 accumulated_overscroll, | 56 accumulated_overscroll, |
| 56 current_fling_velocity); | 57 current_fling_velocity); |
| 57 } | 58 } |
| 58 | 59 |
| 59 } // namespace content | 60 } // namespace content |
| OLD | NEW |