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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 18937002: Add UMA/Telemetry stats for end-to-end scroll latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rename UMA stats to Event.Latency.TouchToScrollUpdateSwap 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/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index c5933f563bf89a604d9bee463d9c0cf02683d54d..7b27d5f8e4d577d4ae3198ecab6edf4ee5886f76 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -537,8 +537,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
const WebKit::WebMouseWheelEvent& wheel_event,
const ui::LatencyInfo& latency_info);
- // Create a LatencyInfo struct for a new input event that was just received.
- ui::LatencyInfo NewInputLatencyInfo();
+ // Create a LatencyInfo struct with INPUT_EVENT_LATENCY_RWH_COMPONENT
+ // component if it is not already in |original|. And if |original| is
+ // not NULL, it is also merged into the resulting LatencyInfo.
+ ui::LatencyInfo CreateRWHLatencyInfoIfNotExist(
+ const ui::LatencyInfo* original);
// Called when we receive a notification indicating that the renderer
// process has gone. This will reset our state so that our state will be

Powered by Google App Engine
This is Rietveld 408576698