Add default implementations for AppWindowRegistry::Observer notifications.
[chromium-blink-merge.git] / cc / animation / animation_delegate.h
blob0f83bec44c63c0f74a88dae6b736ddc5dd4d6ed8
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 AnimationDelegate {
14 public:
15 virtual void NotifyAnimationStarted(
16 base::TimeTicks monotonic_time,
17 Animation::TargetProperty target_property) = 0;
18 virtual void NotifyAnimationFinished(
19 base::TimeTicks monotonic_time,
20 Animation::TargetProperty target_property) = 0;
22 protected:
23 virtual ~AnimationDelegate() {}
26 } // namespace cc
28 #endif // CC_ANIMATION_ANIMATION_DELEGATE_H_