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

Side by Side Diff: ui/events/latency_info.h

Issue 681763003: Add input latency histograms for wheel events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix space Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « ui/events/gestures/gesture_provider_aura.cc ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_LATENCY_INFO_H_ 5 #ifndef UI_EVENTS_LATENCY_INFO_H_
6 #define UI_EVENTS_LATENCY_INFO_H_ 6 #define UI_EVENTS_LATENCY_INFO_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 25 matching lines...) Expand all
36 INPUT_EVENT_LATENCY_SCROLL_UPDATE_ORIGINAL_COMPONENT, 36 INPUT_EVENT_LATENCY_SCROLL_UPDATE_ORIGINAL_COMPONENT,
37 // Original timestamp for input event (e.g. timestamp from kernel). 37 // Original timestamp for input event (e.g. timestamp from kernel).
38 INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT, 38 INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT,
39 // Timestamp when the UI event is created. 39 // Timestamp when the UI event is created.
40 INPUT_EVENT_LATENCY_UI_COMPONENT, 40 INPUT_EVENT_LATENCY_UI_COMPONENT,
41 // This is special component indicating there is rendering scheduled for 41 // This is special component indicating there is rendering scheduled for
42 // the event associated with this LatencyInfo. 42 // the event associated with this LatencyInfo.
43 INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT, 43 INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT,
44 // Timestamp when a scroll update is forwarded to the main thread. 44 // Timestamp when a scroll update is forwarded to the main thread.
45 INPUT_EVENT_LATENCY_FORWARD_SCROLL_UPDATE_TO_MAIN_COMPONENT, 45 INPUT_EVENT_LATENCY_FORWARD_SCROLL_UPDATE_TO_MAIN_COMPONENT,
46 // Timestamp when the touch event is acked. 46 // Timestamp when the event's ack is received by the RWH.
47 INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT, 47 INPUT_EVENT_LATENCY_ACK_RWH_COMPONENT,
48 // Frame number when a window snapshot was requested. The snapshot 48 // Frame number when a window snapshot was requested. The snapshot
49 // is taken when the rendering results actually reach the screen. 49 // is taken when the rendering results actually reach the screen.
50 WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT, 50 WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT,
51 // Frame number for a snapshot requested via 51 // Frame number for a snapshot requested via
52 // gpuBenchmarking.beginWindowSnapshotPNG 52 // gpuBenchmarking.beginWindowSnapshotPNG
53 // TODO(vkuzkokov): remove when patch adding this hits Stable 53 // TODO(vkuzkokov): remove when patch adding this hits Stable
54 WINDOW_OLD_SNAPSHOT_FRAME_NUMBER_COMPONENT, 54 WINDOW_OLD_SNAPSHOT_FRAME_NUMBER_COMPONENT,
55 // Timestamp when a tab is requested to be shown. 55 // Timestamp when a tab is requested to be shown.
56 TAB_SHOW_COMPONENT, 56 TAB_SHOW_COMPONENT,
57 // Timestamp of when the Browser process began compositing 57 // Timestamp of when the Browser process began compositing
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 // The unique id for matching the ASYNC_BEGIN/END trace event. 178 // The unique id for matching the ASYNC_BEGIN/END trace event.
179 int64 trace_id; 179 int64 trace_id;
180 // Whether a terminal component has been added. 180 // Whether a terminal component has been added.
181 bool terminated; 181 bool terminated;
182 }; 182 };
183 183
184 } // namespace ui 184 } // namespace ui
185 185
186 #endif // UI_EVENTS_LATENCY_INFO_H_ 186 #endif // UI_EVENTS_LATENCY_INFO_H_
OLDNEW
« no previous file with comments | « ui/events/gestures/gesture_provider_aura.cc ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698