summaryrefslogtreecommitdiffstats
path: root/cc/layer_animation_value_observer.h
diff options
context:
space:
mode:
authorvollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-07 15:50:15 +0000
committervollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-07 15:50:15 +0000
commit5867677c366103e8f8083c9c7a5421a24aefb946 (patch)
tree0f73cacb1d9ebdef27f321bfce86fa7cf8977cd6 /cc/layer_animation_value_observer.h
parentf0141dccf91495b5ea7b467bd5d53c6f2d4efcb1 (diff)
downloadchromium_src-5867677c366103e8f8083c9c7a5421a24aefb946.zip
chromium_src-5867677c366103e8f8083c9c7a5421a24aefb946.tar.gz
chromium_src-5867677c366103e8f8083c9c7a5421a24aefb946.tar.bz2
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
Diffstat (limited to 'cc/layer_animation_value_observer.h')
-rw-r--r--cc/layer_animation_value_observer.h2
1 files changed, 2 insertions, 0 deletions
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