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

Unified Diff: ui/compositor/compositor.h

Issue 2631333002: [animations] Adds metrics for jank on selected layer animations (Closed)
Patch Set: Adds UMA reporting for ripples and overview mode (UMA name fix) Created 3 years, 11 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/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index 7ecc5e588db8b8c2d1d7f82fb0b3f1c9618703b9..52144170f91525c6194c3f07ba3486099940690e 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -391,6 +391,9 @@ class COMPOSITOR_EXPORT Compositor
const cc::FrameSinkId& frame_sink_id() const { return frame_sink_id_; }
+ // Returns a sequence number of a current compositor frame for use with UMA.
+ int GetFrameNumber();
+
private:
friend class base::RefCounted<Compositor>;
friend class CompositorLock;

Powered by Google App Engine
This is Rietveld 408576698