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

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

Issue 343033002: Revert 278472 "DevTools: Fix for Page.captureScreenshot" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/content/renderer/render_view_impl.cc ('k') | trunk/src/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 26 matching lines...) Expand all
37 // Timestamp when the UI event is created. 37 // Timestamp when the UI event is created.
38 INPUT_EVENT_LATENCY_UI_COMPONENT, 38 INPUT_EVENT_LATENCY_UI_COMPONENT,
39 // This is special component indicating there is rendering scheduled for 39 // This is special component indicating there is rendering scheduled for
40 // the event associated with this LatencyInfo. 40 // the event associated with this LatencyInfo.
41 INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT, 41 INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT,
42 // Timestamp when the touch event is acked. 42 // Timestamp when the touch event is acked.
43 INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT, 43 INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT,
44 // Frame number when a window snapshot was requested. The snapshot 44 // Frame number when a window snapshot was requested. The snapshot
45 // is taken when the rendering results actually reach the screen. 45 // is taken when the rendering results actually reach the screen.
46 WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT, 46 WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT,
47 // Frame number for a snapshot requested via
48 // gpuBenchmarking.beginWindowSnapshotPNG
49 // TODO(vkuzkokov): remove when patch adding this hits Stable
50 WINDOW_OLD_SNAPSHOT_FRAME_NUMBER_COMPONENT,
51 // ---------------------------TERMINAL COMPONENT----------------------------- 47 // ---------------------------TERMINAL COMPONENT-----------------------------
52 // TERMINAL COMPONENT is when we show the latency end in chrome://tracing. 48 // TERMINAL COMPONENT is when we show the latency end in chrome://tracing.
53 // Timestamp when the mouse event is acked from renderer and it does not 49 // Timestamp when the mouse event is acked from renderer and it does not
54 // cause any rendering scheduled. 50 // cause any rendering scheduled.
55 INPUT_EVENT_LATENCY_TERMINATED_MOUSE_COMPONENT, 51 INPUT_EVENT_LATENCY_TERMINATED_MOUSE_COMPONENT,
56 // Timestamp when the touch event is acked from renderer and it does not 52 // Timestamp when the touch event is acked from renderer and it does not
57 // cause any rendering schedueld and does not generate any gesture event. 53 // cause any rendering schedueld and does not generate any gesture event.
58 INPUT_EVENT_LATENCY_TERMINATED_TOUCH_COMPONENT, 54 INPUT_EVENT_LATENCY_TERMINATED_TOUCH_COMPONENT,
59 // Timestamp when the gesture event is acked from renderer, and it does not 55 // Timestamp when the gesture event is acked from renderer, and it does not
60 // cause any rendering schedueld. 56 // cause any rendering schedueld.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 LatencyMap latency_components; 145 LatencyMap latency_components;
150 // The unique id for matching the ASYNC_BEGIN/END trace event. 146 // The unique id for matching the ASYNC_BEGIN/END trace event.
151 int64 trace_id; 147 int64 trace_id;
152 // Whether a terminal component has been added. 148 // Whether a terminal component has been added.
153 bool terminated; 149 bool terminated;
154 }; 150 };
155 151
156 } // namespace ui 152 } // namespace ui
157 153
158 #endif // UI_EVENTS_LATENCY_INFO_H_ 154 #endif // UI_EVENTS_LATENCY_INFO_H_
OLDNEW
« no previous file with comments | « trunk/src/content/renderer/render_view_impl.cc ('k') | trunk/src/ui/events/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698