Chromium Code Reviews| 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.
|
| }; |