| Index: ui/compositor/layer_animation_delegate.h
|
| diff --git a/ui/compositor/layer_animation_delegate.h b/ui/compositor/layer_animation_delegate.h
|
| index cc83f43d5364be081441defbc0995d934735d469..e1ec62451ca795add295898d3753f7dfdd8b049d 100644
|
| --- a/ui/compositor/layer_animation_delegate.h
|
| +++ b/ui/compositor/layer_animation_delegate.h
|
| @@ -39,11 +39,15 @@ class COMPOSITOR_EXPORT LayerAnimationDelegate {
|
| virtual float GetGrayscaleForAnimation() const = 0;
|
| virtual SkColor GetColorForAnimation() const = 0;
|
| virtual float GetDeviceScaleFactor() const = 0;
|
| +
|
| + // TODO(loyso): Extract these 3 methods as a separate
|
| + // LayerThreadedAnimationDelegate.
|
| virtual void AddThreadedAnimation(scoped_ptr<cc::Animation> animation) = 0;
|
| virtual void RemoveThreadedAnimation(int animation_id) = 0;
|
| - virtual LayerAnimatorCollection* GetLayerAnimatorCollection() = 0;
|
| virtual cc::Layer* GetCcLayer() const = 0;
|
|
|
| + virtual LayerAnimatorCollection* GetLayerAnimatorCollection() = 0;
|
| +
|
| protected:
|
| virtual ~LayerAnimationDelegate() {}
|
| };
|
|
|