1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CC_ANIMATION_ANIMATION_DELEGATE_H_ 6 #define CC_ANIMATION_ANIMATION_DELEGATE_H_ 7 8 namespace cc { 9 10 class AnimationDelegate { 11 public: 12 virtual void NotifyAnimationStarted(double time) = 0; 13 virtual void NotifyAnimationFinished(double time) = 0; 14 15 protected: 16 virtual ~AnimationDelegate() {} 17 }; 18 19 } // namespace cc 20 21 #endif // CC_ANIMATION_ANIMATION_DELEGATE_H_ 22