Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / cc / animation / layer_animation_event_observer.h
blob93d606edcc86553254fdcb769ae1addd2465bb80
1 // Copyright 2012 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_LAYER_ANIMATION_EVENT_OBSERVER_H_
6 #define CC_ANIMATION_LAYER_ANIMATION_EVENT_OBSERVER_H_
8 #include "cc/base/cc_export.h"
10 namespace cc {
12 struct AnimationEvent;
14 class CC_EXPORT LayerAnimationEventObserver {
15 public:
16 virtual void OnAnimationStarted(const AnimationEvent& event) = 0;
18 protected:
19 virtual ~LayerAnimationEventObserver() {}
22 } // namespace cc
24 #endif // CC_ANIMATION_LAYER_ANIMATION_EVENT_OBSERVER_H_