| Index: ui/events/latency_info.h
|
| diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
|
| index ea3293cb3783c98b1516b8b21caeb62a9bb97af9..7b70654362da011fb66c2120c64fdcf3d8587424 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 indicates that the input causes a commit to be scheduled
|
| + // but the commit failed.
|
| + INPUT_EVENT_LATENCY_TERMINATED_COMMIT_FAILED_COMPONENT,
|
| + // This component indicates that the input causes a swap to be scheduled
|
| + // but the swap failed.
|
| + INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT,
|
| + // This component indicates that the cached LatencyInfo number exceeds the
|
| + // maximal allowed size.
|
| + LATENCY_INFO_LIST_TERMINATED_OVERFLOW_COMPONENT,
|
| };
|
|
|
| struct EVENTS_BASE_EXPORT LatencyInfo {
|
|
|