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

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: refactor NewInputLatencyInfo() 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | ui/base/latency_info.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..bf95bfabdd7f072640534e54554b6856e9a6ec67 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -537,8 +537,10 @@ 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 |original| is not NULL, it is merged into the resulting
+ // LatencyInfo.
+ ui::LatencyInfo NewInputLatencyInfo(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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | ui/base/latency_info.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698