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

Unified Diff: cc/layer_animation_controller.h

Issue 11830056: Enable accelerated animations for orphaned layers (Closed) Base URL: http://git.chromium.org/chromium/src.git@MakeLayerTreeHostAnimateLayersTakeWallClockTime
Patch Set: Created 7 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: cc/layer_animation_controller.h
diff --git a/cc/layer_animation_controller.h b/cc/layer_animation_controller.h
index 786887be39e9f1881479fa896df7bc5bf300b2f5..4c092d44cb0097cc01483a5ed6ca0ed83c019314 100644
--- a/cc/layer_animation_controller.h
+++ b/cc/layer_animation_controller.h
@@ -77,10 +77,13 @@ public:
void setForceSync() { m_forceSync = true; }
void setAnimationRegistrar(AnimationRegistrar*);
+ AnimationRegistrar* animationRegistrar() { return m_registrar; }
void addObserver(LayerAnimationValueObserver*);
void removeObserver(LayerAnimationValueObserver*);
+ bool hasNonOrphanedObserver();
+
protected:
friend class base::RefCounted<LayerAnimationController>;
« no previous file with comments | « cc/layer.cc ('k') | cc/layer_animation_controller.cc » ('j') | cc/layer_animation_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698