diff options
author | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-18 23:34:51 +0000 |
---|---|---|
committer | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-18 23:34:51 +0000 |
commit | 1c24cf2967fb6e1d01da8c044c40542bf164a8b1 (patch) | |
tree | aeb61f7c38c395ee4bece693728648992020ea65 /cc/animation/layer_animation_value_observer.h | |
parent | 9036babe3679effab6558c5e258a3fc4bbc185d1 (diff) | |
download | chromium_src-1c24cf2967fb6e1d01da8c044c40542bf164a8b1.zip chromium_src-1c24cf2967fb6e1d01da8c044c40542bf164a8b1.tar.gz chromium_src-1c24cf2967fb6e1d01da8c044c40542bf164a8b1.tar.bz2 |
Don't PushProperties every commit for animating layers
This removes the need to PushProperties every commit during an animation.
Instead, a single PushProperties is needed whenever there are animations
waiting for deletion.
This also removes LayerAnimationController::set_force_sync, which no
longer had any non-test callers and wasn't actually needed by its test
callers.
BUG=259088
Review URL: https://codereview.chromium.org/60083018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/animation/layer_animation_value_observer.h')
-rw-r--r-- | cc/animation/layer_animation_value_observer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/animation/layer_animation_value_observer.h b/cc/animation/layer_animation_value_observer.h index adaf9c7..cc6219d 100644 --- a/cc/animation/layer_animation_value_observer.h +++ b/cc/animation/layer_animation_value_observer.h @@ -16,6 +16,7 @@ class CC_EXPORT LayerAnimationValueObserver { virtual void OnFilterAnimated(const FilterOperations& filters) = 0; virtual void OnOpacityAnimated(float opacity) = 0; virtual void OnTransformAnimated(const gfx::Transform& transform) = 0; + virtual void OnAnimationWaitingForDeletion() = 0; virtual bool IsActive() const = 0; }; |