Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / cc / animation / animation_delegate.h
blob8c736b5fe6e7466da3d1035a4a7cf41f1fa9718c
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.
5 #ifndef CC_ANIMATION_ANIMATION_DELEGATE_H_
6 #define CC_ANIMATION_ANIMATION_DELEGATE_H_
8 #include "base/time/time.h"
9 #include "cc/animation/animation.h"
11 namespace cc {
13 class CC_EXPORT AnimationDelegate {
14 public:
15 virtual void NotifyAnimationStarted(base::TimeTicks monotonic_time,
16 Animation::TargetProperty target_property,
17 int group) = 0;
18 virtual void NotifyAnimationFinished(
19 base::TimeTicks monotonic_time,
20 Animation::TargetProperty target_property,
21 int group) = 0;
23 protected:
24 virtual ~AnimationDelegate() {}
27 } // namespace cc
29 #endif // CC_ANIMATION_ANIMATION_DELEGATE_H_