summaryrefslogtreecommitdiff
path: root/chromium/cc/animation/animation_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/animation/animation_delegate.h')
-rw-r--r--chromium/cc/animation/animation_delegate.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium/cc/animation/animation_delegate.h b/chromium/cc/animation/animation_delegate.h
new file mode 100644
index 00000000000..c9367b8546a
--- /dev/null
+++ b/chromium/cc/animation/animation_delegate.h
@@ -0,0 +1,21 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_ANIMATION_ANIMATION_DELEGATE_H_
+#define CC_ANIMATION_ANIMATION_DELEGATE_H_
+
+namespace cc {
+
+class AnimationDelegate {
+ public:
+ virtual void NotifyAnimationStarted(double time) = 0;
+ virtual void NotifyAnimationFinished(double time) = 0;
+
+ protected:
+ virtual ~AnimationDelegate() {}
+};
+
+} // namespace cc
+
+#endif // CC_ANIMATION_ANIMATION_DELEGATE_H_