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

Unified Diff: ui/events/latency_info.h

Issue 1911963005: Fix reporting of TouchToFirstScroll latency metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: ui/events/latency_info.h
diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
index 22e1ab4ecfea3641a98a9d5c9a9c4f0f99035307..89ed3096b77f1138349f13382e48755a1f88dcb4 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -67,6 +67,8 @@ enum LatencyComponentType {
// Timestamp of when the gpu service began swap buffers, unlike
// INPUT_EVENT_LATENCY_TERMINATED_FRAME_SWAP_COMPONENT which measures after.
INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT,
+ // Timestamp of when the scroll update gesture from a mouse wheel event.
tdresser 2016/04/22 17:55:59 Comment is missing a verb or two.
dtapuska 2016/04/22 18:15:00 Done.
+ INPUT_EVENT_LATENCY_GENERATE_SCROLL_UPDATE_FROM_MOUSE_WHEEL,
// ---------------------------TERMINAL COMPONENT-----------------------------
// TERMINAL COMPONENT is when we show the latency end in chrome://tracing.
// Timestamp when the mouse event is acked from renderer and it does not
@@ -97,7 +99,7 @@ enum LatencyComponentType {
// but the swap failed.
INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT,
LATENCY_COMPONENT_TYPE_LAST =
- INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT,
+ INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT,
};
class EVENTS_BASE_EXPORT LatencyInfo {

Powered by Google App Engine
This is Rietveld 408576698