BACKGROUND_CHANGE_IMMEDIATE
};
-namespace internal {
-
// Delegate is notified any time the background changes.
class ASH_EXPORT BackgroundAnimatorDelegate {
public:
BackgroundAnimator(BackgroundAnimatorDelegate* delegate,
int min_alpha,
int max_alpha);
- virtual ~BackgroundAnimator();
+ ~BackgroundAnimator() override;
// Sets the transition time in ms.
void SetDuration(int time_in_ms);
int alpha() const { return alpha_; }
// gfx::AnimationDelegate overrides:
- virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
+ void AnimationProgressed(const gfx::Animation* animation) override;
private:
BackgroundAnimatorDelegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(BackgroundAnimator);
};
-} // namespace internal
} // namespace ash
#endif // ASH_SHELF_BACKGROUND_ANIMATOR_H_