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

Unified Diff: ui/events/latency_info.h

Issue 23694031: Fix race conditions in window snapshot code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing further feedback, added stress test for snapshots Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/events/latency_info.h
diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
index 8bf56100dfd84324c1dc9b40923244ba580f2400..5f531a2116394769cf00a58f76a36fe3e7b2d6d8 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -32,7 +32,10 @@ enum LatencyComponentType {
INPUT_EVENT_LATENCY_UI_COMPONENT,
// Timestamp when the event is acked from renderer. This is currently set
// only for touch events.
- INPUT_EVENT_LATENCY_ACKED_COMPONENT
+ INPUT_EVENT_LATENCY_ACKED_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
};
struct EVENTS_EXPORT LatencyInfo {
« content/test/data/screenshot_sync.html ('K') | « tools/telemetry/telemetry/core/tab_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698