Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef WebCompositorAnimationDelegate_h | |
| 6 #define WebCompositorAnimationDelegate_h | |
| 7 | |
| 8 #include "WebCompositorAnimation.h" | |
| 9 | |
| 10 #define WebCompositorAnimationDelegate WebCompositorAnimationDelegate | |
|
Ian Vollick
2014/07/24 13:23:34
Ditto.
samli
2014/07/25 01:34:33
Done.
| |
| 11 #define WEB_ANIMATION_DELEGATE_TAKES_MONOTONIC_TIME 1 | |
| 12 | |
| 13 namespace blink { | |
| 14 | |
| 15 class WebCompositorAnimationDelegate { | |
| 16 public: | |
| 17 virtual void notifyAnimationStarted(double monotonicTime, WebCompositorAnima tion::TargetProperty) = 0; | |
| 18 virtual void notifyAnimationFinished(double monotonicTime, WebCompositorAnim ation::TargetProperty) = 0; | |
| 19 }; | |
| 20 | |
| 21 } // namespace blink | |
| 22 | |
| 23 #endif // WebCompositorAnimationDelegate_h | |
| OLD | NEW |