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

Unified Diff: ui/compositor/layer_animation_delegate.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/layer_animation_delegate.h
diff --git a/ui/compositor/layer_animation_delegate.h b/ui/compositor/layer_animation_delegate.h
index b1db0b300b29674aa6c8a856df5f9fe97e70812c..a1b39962d5d441a46307a182936d89565e9b491f 100644
--- a/ui/compositor/layer_animation_delegate.h
+++ b/ui/compositor/layer_animation_delegate.h
@@ -41,6 +41,7 @@ class COMPOSITOR_EXPORT LayerAnimationDelegate {
virtual cc::Layer* GetCcLayer() const = 0;
virtual LayerAnimatorCollection* GetLayerAnimatorCollection() = 0;
virtual LayerThreadedAnimationDelegate* GetThreadedAnimationDelegate() = 0;
+ virtual int GetFrameNumber() = 0;
protected:
virtual ~LayerAnimationDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698