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

Unified Diff: ui/events/latency_info.h

Issue 252663002: Track plugin input event latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add more comments Created 6 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 7220187272575e7e78cbdae5908486449bf8fc1f..9c52e8eb52358213a42a7de36b38f6ac8e6e3b44 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -20,6 +20,8 @@ enum LatencyComponentType {
// BEGIN COMPONENT is when we show the latency begin in chrome://tracing.
// Timestamp when the input event is sent from RenderWidgetHost to renderer.
INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT,
+ // Timestamp when the input event is received in plugin.
+ INPUT_EVENT_LATENCY_BEGIN_PLUGIN_COMPONENT,
// ---------------------------NORMAL COMPONENT-------------------------------
// Timestamp when the scroll update gesture event is sent from RWH to
// renderer. In Aura, touch event's LatencyInfo is carried over to the gesture
@@ -65,6 +67,9 @@ enum LatencyComponentType {
// This component indicates that the cached LatencyInfo number exceeds the
// maximal allowed size.
LATENCY_INFO_LIST_TERMINATED_OVERFLOW_COMPONENT,
+ // Timestamp when the input event is considered not cause any rendering
+ // damage in plugin and thus terminated.
+ INPUT_EVENT_LATENCY_TERMINATED_PLUGIN_COMPONENT,
LATENCY_COMPONENT_TYPE_LAST = LATENCY_INFO_LIST_TERMINATED_OVERFLOW_COMPONENT
sadrul 2014/04/25 12:09:12 You need to update this.
Yufeng Shen (Slow to review) 2014/04/25 20:42:42 Done.
};

Powered by Google App Engine
This is Rietveld 408576698