OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebCompositorAnimationDelegate_h | 5 #ifndef WebCompositorAnimationDelegate_h |
6 #define WebCompositorAnimationDelegate_h | 6 #define WebCompositorAnimationDelegate_h |
7 | 7 |
8 #include "WebAnimationDelegate.h" | 8 #include "WebCompositorAnimation.h" |
9 | |
10 #define WEB_ANIMATION_DELEGATE_TAKES_MONOTONIC_TIME 1 | |
11 | |
12 namespace blink { | |
13 | |
14 class WebCompositorAnimationDelegate { | |
15 public: | |
jochen (gone - plz use gerrit)
2014/08/04 09:07:34
should have a virtual dtor
samli
2014/08/11 04:10:59
Done.
| |
16 virtual void notifyAnimationStarted(double monotonicTime, WebCompositorAnima tion::TargetProperty) = 0; | |
17 virtual void notifyAnimationFinished(double monotonicTime, WebCompositorAnim ation::TargetProperty) = 0; | |
18 }; | |
19 | |
20 } // namespace blink | |
9 | 21 |
10 #endif // WebCompositorAnimationDelegate_h | 22 #endif // WebCompositorAnimationDelegate_h |
11 | |
OLD | NEW |