Index: ash/common/wm/background_animator.h |
diff --git a/ash/common/wm/background_animator.h b/ash/common/wm/background_animator.h |
index 83a1f8c43df55a49f6156ce22c011566cc14c5e9..341ee23747ce97981c8d44e9d502cd2f63489b6e 100644 |
--- a/ash/common/wm/background_animator.h |
+++ b/ash/common/wm/background_animator.h |
@@ -18,10 +18,14 @@ enum BackgroundAnimatorChangeType { |
BACKGROUND_CHANGE_IMMEDIATE |
}; |
+class BackgroundAnimator; |
+ |
// Delegate is notified any time the background changes. |
class ASH_EXPORT BackgroundAnimatorDelegate { |
public: |
- virtual void UpdateBackground(int alpha) = 0; |
+ virtual void UpdateBackground(BackgroundAnimator* animator, int alpha) = 0; |
+ |
+ virtual void BackgroundAnimationEnded(bool successfully) {} |
James Cook
2016/06/09 23:40:37
nit: It feels a little weird that the other functi
bruthig
2016/06/14 16:40:44
Done. Agreed, this was a short cut to get it up fo
|
protected: |
virtual ~BackgroundAnimatorDelegate() {} |