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

Unified Diff: ui/compositor/test/test_layer_animation_delegate.cc

Issue 2631333002: [animations] Adds metrics for jank on selected layer animations (Closed)
Patch Set: Adds UMA reporting for ripples and overview mode (query refresh rate) 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
« no previous file with comments | « ui/compositor/test/test_layer_animation_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/test_layer_animation_delegate.cc
diff --git a/ui/compositor/test/test_layer_animation_delegate.cc b/ui/compositor/test/test_layer_animation_delegate.cc
index 350370d455d9066ebde58bb085446bfa33bed45f..ee6f42659ab1566e4e861d9c8409e54b08c3cddd 100644
--- a/ui/compositor/test/test_layer_animation_delegate.cc
+++ b/ui/compositor/test/test_layer_animation_delegate.cc
@@ -115,6 +115,15 @@ TestLayerAnimationDelegate::GetThreadedAnimationDelegate() {
return &threaded_delegate_;
}
+int TestLayerAnimationDelegate::GetFrameNumber() const {
+ return 0;
+}
+
+float TestLayerAnimationDelegate::GetRefreshRate() const {
+ return 60.0;
+}
+
+
void TestLayerAnimationDelegate::CreateCcLayer() {
cc_layer_ = cc::Layer::Create();
}
« no previous file with comments | « ui/compositor/test/test_layer_animation_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698