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

Unified Diff: content/renderer/gpu/input_handler_proxy.cc

Issue 20994007: Add impl/comp scrolling instrumentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/gpu/input_handler_proxy.cc
diff --git a/content/renderer/gpu/input_handler_proxy.cc b/content/renderer/gpu/input_handler_proxy.cc
index 1d9bb07912cd43b3594cd5badfe57a56d3e06514..15ab8ab6e1b9598854f7c4ce6028c66af2c7f977 100644
--- a/content/renderer/gpu/input_handler_proxy.cc
+++ b/content/renderer/gpu/input_handler_proxy.cc
@@ -106,6 +106,9 @@ InputHandlerProxy::EventDisposition InputHandlerProxy::HandleInputEvent(
// thread, so punt it to the main thread. http://crbug.com/236639
return DID_NOT_HANDLE;
}
+ TRACE_EVENT0(
+ "impl-scroll",
+ "InputHandlerProxy::HandleInputEvent wheel scroll");
cc::InputHandler::ScrollStatus scroll_status = input_handler_->ScrollBegin(
gfx::Point(wheel_event.x, wheel_event.y), cc::InputHandler::Wheel);
switch (scroll_status) {

Powered by Google App Engine
This is Rietveld 408576698