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

Unified Diff: ui/compositor/compositor.h

Issue 2615643002: ui: Add debug flag for slowing down all UI animations. (Closed)
Patch Set: add missing histograms.xml entry 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 | « tools/metrics/histograms/histograms.xml ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index 07472f3f52fac536d52f24226518f3a0ea19c0f2..24785b7d7f233609e411a5837d5247a6e94aaeb1 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -65,6 +65,7 @@ class CompositorVSyncManager;
class LatencyInfo;
class Layer;
class Reflector;
+class ScopedAnimationDurationScaleMode;
#if defined(USE_AURA)
class Window;
@@ -436,6 +437,7 @@ class COMPOSITOR_EXPORT Compositor
LayerAnimatorCollection layer_animator_collection_;
scoped_refptr<cc::AnimationTimeline> animation_timeline_;
+ std::unique_ptr<ScopedAnimationDurationScaleMode> slow_animations_;
gfx::ColorSpace color_space_;
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698