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

Unified Diff: ui/events/latency_info.h

Issue 311313003: DevTools: Fix for Page.captureScreenshot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for mac (again) 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 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 619b0462f71f4d36c3c7a7c23288887eee82a6ad..d423fc7a2294e1fcdd782617b292edb2e0ab19cd 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -44,6 +44,10 @@ enum LatencyComponentType {
// 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,
+ // Frame number for a snapshot requested via
+ // gpuBenchmarking.beginWindowSnapshotPNG
+ // TODO(vkuzkokov): remove when patch adding this hits Stable
+ WINDOW_OLD_SNAPSHOT_FRAME_NUMBER_COMPONENT,
// ---------------------------TERMINAL COMPONENT-----------------------------
// TERMINAL COMPONENT is when we show the latency end in chrome://tracing.
// Timestamp when the mouse event is acked from renderer and it does not

Powered by Google App Engine
This is Rietveld 408576698