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_proxy.h" | 5 #include "content/renderer/gpu/input_handler_proxy.h" |
6 | 6 |
7 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "content/renderer/gpu/input_handler_proxy_client.h" | 9 #include "content/renderer/gpu/input_handler_proxy_client.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" | 10 #include "third_party/WebKit/public/platform/Platform.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
12 | 12 |
13 using WebKit::WebFloatPoint; | 13 using WebKit::WebFloatPoint; |
14 using WebKit::WebFloatSize; | 14 using WebKit::WebFloatSize; |
15 using WebKit::WebGestureEvent; | 15 using WebKit::WebGestureEvent; |
16 using WebKit::WebInputEvent; | 16 using WebKit::WebInputEvent; |
17 using WebKit::WebMouseWheelEvent; | 17 using WebKit::WebMouseWheelEvent; |
18 using WebKit::WebPoint; | 18 using WebKit::WebPoint; |
19 using WebKit::WebScrollbar; | 19 using WebKit::WebScrollbar; |
20 using WebKit::WebTouchEvent; | 20 using WebKit::WebTouchEvent; |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 TRACE_EVENT2("renderer", | 403 TRACE_EVENT2("renderer", |
404 "InputHandlerProxy::notifyCurrentFlingVelocity", | 404 "InputHandlerProxy::notifyCurrentFlingVelocity", |
405 "vx", | 405 "vx", |
406 velocity.width, | 406 velocity.width, |
407 "vy", | 407 "vy", |
408 velocity.height); | 408 velocity.height); |
409 input_handler_->NotifyCurrentFlingVelocity(ToClientScrollIncrement(velocity)); | 409 input_handler_->NotifyCurrentFlingVelocity(ToClientScrollIncrement(velocity)); |
410 } | 410 } |
411 | 411 |
412 } // namespace content | 412 } // namespace content |
OLD | NEW |