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::WebTouchEvent; | 19 using WebKit::WebTouchEvent; |
20 | 20 |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 TRACE_EVENT2("renderer", | 402 TRACE_EVENT2("renderer", |
403 "InputHandlerProxy::notifyCurrentFlingVelocity", | 403 "InputHandlerProxy::notifyCurrentFlingVelocity", |
404 "vx", | 404 "vx", |
405 velocity.width, | 405 velocity.width, |
406 "vy", | 406 "vy", |
407 velocity.height); | 407 velocity.height); |
408 input_handler_->NotifyCurrentFlingVelocity(ToClientScrollIncrement(velocity)); | 408 input_handler_->NotifyCurrentFlingVelocity(ToClientScrollIncrement(velocity)); |
409 } | 409 } |
410 | 410 |
411 } // namespace content | 411 } // namespace content |
OLD | NEW |