Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / WebCompositorAnimationDelegate.h
blob5bf043a3c4e593e5dcfa5cd6c9051a8906e78ce6
1 // Copyright 2014 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 WebCompositorAnimationDelegate_h
6 #define WebCompositorAnimationDelegate_h
8 #include "WebCommon.h"
9 #include "WebCompositorAnimation.h"
11 #define WEB_COMPOSITOR_ANIMATION_DELEGATE_TAKES_GROUP 1
13 namespace blink {
15 class BLINK_PLATFORM_EXPORT WebCompositorAnimationDelegate {
16 public:
17 virtual ~WebCompositorAnimationDelegate() { }
19 virtual void notifyAnimationStarted(double monotonicTime, int group) = 0;
20 virtual void notifyAnimationFinished(double monotonicTime, int group) = 0;
23 } // namespace blink
25 #endif // WebCompositorAnimationDelegate_h