From 5867677c366103e8f8083c9c7a5421a24aefb946 Mon Sep 17 00:00:00 2001 From: "vollick@chromium.org" Date: Mon, 7 Jan 2013 15:50:15 +0000 Subject: We don't want to tick animation controllers for non-active layers With this change, we will only tick animation controllers once one of their corresponding layers is active. R=enne@chromium.org NOTRY=true BUG=None Review URL: https://chromiumcodereview.appspot.com/11633044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175338 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/layer_animation_value_observer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cc/layer_animation_value_observer.h') diff --git a/cc/layer_animation_value_observer.h b/cc/layer_animation_value_observer.h index bb8e2ab..859e8a2 100644 --- a/cc/layer_animation_value_observer.h +++ b/cc/layer_animation_value_observer.h @@ -13,6 +13,8 @@ class CC_EXPORT LayerAnimationValueObserver { virtual void OnOpacityAnimated(float) = 0; virtual void OnTransformAnimated(const gfx::Transform&) = 0; + + virtual bool IsActive() const = 0; }; } // namespace cc -- cgit v1.1