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

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, 5 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 74cc6d1900e0779c2f73ba79cb7aef8f5c6b95d5..0ed7562cea010bbdc235aa6df6a520d414339600 100644
--- a/content/renderer/gpu/input_handler_proxy.cc
+++ b/content/renderer/gpu/input_handler_proxy.cc
@@ -103,6 +103,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