Index: ui/events/latency_info.h |
diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h |
index ea3293cb3783c98b1516b8b21caeb62a9bb97af9..aac460206f5e4ba5b1b6757b74e0b3d3ed750082 100644 |
--- a/ui/events/latency_info.h |
+++ b/ui/events/latency_info.h |
@@ -38,6 +38,9 @@ enum LatencyComponentType { |
INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT, |
// Timestamp when the touch event is acked. |
INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT, |
+ // Frame number when a window snapshot was requested. The snapshot |
+ // is taken when the rendering results actually reach the screen. |
+ WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT, |
// ---------------------------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 |
@@ -52,9 +55,15 @@ enum LatencyComponentType { |
// Timestamp when the frame is swapped (i.e. when the rendering caused by |
// input event actually takes effect). |
INPUT_EVENT_LATENCY_TERMINATED_FRAME_SWAP_COMPONENT, |
- // Frame number when a window snapshot was requested. The snapshot |
- // is taken when the rendering results actually reach the screen. |
- WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT |
+ // This component indicats that the input causes a commit to be scheduled |
sadrul
2013/11/27 22:48:13
*indicates
Yufeng Shen (Slow to review)
2013/11/27 22:55:06
Done.
|
+ // but the commit failed. |
+ INPUT_EVENT_LATENCY_TERMINATED_COMMIT_FAILED_COMPONENT, |
+ // This component indicats that the input causes a swap to be scheduled |
sadrul
2013/11/27 22:48:13
ditto
Yufeng Shen (Slow to review)
2013/11/27 22:55:06
Done.
|
+ // but the swap failed. |
+ INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT, |
+ // This component indicats that the cached LatencyInfo number exceeds the |
sadrul
2013/11/27 22:48:13
ditto
Yufeng Shen (Slow to review)
2013/11/27 22:55:06
Done.
|
+ // maximal allowed size. |
+ LATENCY_INFO_LIST_TERMINATED_OVERFLOW_COMPONENT, |
}; |
struct EVENTS_BASE_EXPORT LatencyInfo { |