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

Unified Diff: ui/base/latency_info.h

Issue 23694031: Fix race conditions in window snapshot code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated enne and jbauman's feedback. 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/base/latency_info.h
diff --git a/ui/base/latency_info.h b/ui/base/latency_info.h
index 3482a500a8d0d85a89a5e92d92e7faf14f0be34e..0d7637c909c71b993b03c7f3e5218092f0a027bd 100644
--- a/ui/base/latency_info.h
+++ b/ui/base/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 UI_EXPORT LatencyInfo {

Powered by Google App Engine
This is Rietveld 408576698