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
9 #include "WebCompositorAnimation.h"
11 #define WEB_COMPOSITOR_ANIMATION_DELEGATE_TAKES_GROUP 1
15 class BLINK_PLATFORM_EXPORT WebCompositorAnimationDelegate
{
17 virtual ~WebCompositorAnimationDelegate() { }
19 virtual void notifyAnimationStarted(double monotonicTime
, int group
) = 0;
20 virtual void notifyAnimationFinished(double monotonicTime
, int group
) = 0;
25 #endif // WebCompositorAnimationDelegate_h