Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: content/renderer/gpu/input_handler_proxy.cc

Issue 24257011: Revert "Revert 224496 "Move ui/base/latency_info* to ui/events"" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp bustage Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "content/renderer/gpu/input_handler_proxy_client.h" 10 #include "content/renderer/gpu/input_handler_proxy_client.h"
11 #include "third_party/WebKit/public/platform/Platform.h" 11 #include "third_party/WebKit/public/platform/Platform.h"
12 #include "third_party/WebKit/public/web/WebInputEvent.h" 12 #include "third_party/WebKit/public/web/WebInputEvent.h"
13 #include "ui/base/latency_info.h" 13 #include "ui/events/latency_info.h"
14 14
15 using WebKit::WebFloatPoint; 15 using WebKit::WebFloatPoint;
16 using WebKit::WebFloatSize; 16 using WebKit::WebFloatSize;
17 using WebKit::WebGestureEvent; 17 using WebKit::WebGestureEvent;
18 using WebKit::WebInputEvent; 18 using WebKit::WebInputEvent;
19 using WebKit::WebMouseWheelEvent; 19 using WebKit::WebMouseWheelEvent;
20 using WebKit::WebPoint; 20 using WebKit::WebPoint;
21 using WebKit::WebTouchEvent; 21 using WebKit::WebTouchEvent;
22 22
23 namespace { 23 namespace {
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 TRACE_EVENT2("renderer", 447 TRACE_EVENT2("renderer",
448 "InputHandlerProxy::notifyCurrentFlingVelocity", 448 "InputHandlerProxy::notifyCurrentFlingVelocity",
449 "vx", 449 "vx",
450 velocity.width, 450 velocity.width,
451 "vy", 451 "vy",
452 velocity.height); 452 velocity.height);
453 input_handler_->NotifyCurrentFlingVelocity(ToClientScrollIncrement(velocity)); 453 input_handler_->NotifyCurrentFlingVelocity(ToClientScrollIncrement(velocity));
454 } 454 }
455 455
456 } // namespace content 456 } // namespace content
OLDNEW
« no previous file with comments | « content/port/browser/event_with_latency_info.h ('k') | content/renderer/gpu/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698