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

Unified Diff: content/browser/renderer_host/input/render_widget_host_latency_tracker.h

Issue 2211783003: Track input latency while starting a ServiceWorker for a navigation hint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test Created 4 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/browser/renderer_host/input/render_widget_host_latency_tracker.h
diff --git a/content/browser/renderer_host/input/render_widget_host_latency_tracker.h b/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
index f86d628d95384ad11d91d2bd8f3de09e9991c527..1dc74f2c86cf6c788f4be33d4dd37d09104abbeb 100644
--- a/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
+++ b/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
@@ -55,7 +55,8 @@ class CONTENT_EXPORT RenderWidgetHostLatencyTracker {
// Terminates latency tracking for events that triggered rendering, also
// performing relevant UMA latency reporting.
// Called when the RenderWidgetHost receives a swap update from the GPU.
- void OnFrameSwapped(const ui::LatencyInfo& latency);
+ void OnFrameSwapped(const ui::LatencyInfo& latency,
+ bool is_running_navigation_hint_task);
// WebInputEvent coordinates are in DPIs, while LatencyInfo expects
// coordinates in device pixels.

Powered by Google App Engine
This is Rietveld 408576698