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: ui/latency/latency_info.h

Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: mfomitchev responses, rebase Created 3 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/latency/latency_info.h
diff --git a/ui/latency/latency_info.h b/ui/latency/latency_info.h
index 84c5434c4f6f603654e907ebb10f496ce2e5cdfb..5c8731d8ffd27372fc748971be68f0c110c994bc 100644
--- a/ui/latency/latency_info.h
+++ b/ui/latency/latency_info.h
@@ -109,6 +109,9 @@ enum SourceEventType {
UNKNOWN,
WHEEL,
TOUCH,
+ // This only includes key presses, as they're the most representative of user
+ // perceived keyboard latency.
+ KEY,
OTHER,
SOURCE_EVENT_TYPE_LAST = OTHER,
};
« ui/events/event.cc ('K') | « ui/events/event.cc ('k') | ui/latency/latency_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698