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 WebToCCAnimationDelegateAdapter_h |
| 6 #define WebToCCAnimationDelegateAdapter_h |
| 7 |
| 8 #include "cc/animation/animation_delegate.h" |
| 9 #include "platform/PlatformExport.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class WebCompositorAnimationDelegate; |
| 14 |
| 15 class PLATFORM_EXPORT WebToCCAnimationDelegateAdapter : public cc::AnimationDele
gate { |
| 16 public: |
| 17 explicit WebToCCAnimationDelegateAdapter(WebCompositorAnimationDelegate*); |
| 18 |
| 19 private: |
| 20 void NotifyAnimationStarted(base::TimeTicks monotonicTime, cc::Animation::Ta
rgetProperty, int group) override; |
| 21 void NotifyAnimationFinished(base::TimeTicks monotonicTime, cc::Animation::T
argetProperty, int group) override; |
| 22 void NotifyAnimationAborted(base::TimeTicks monotonicTime, cc::Animation::Ta
rgetProperty, int group) override; |
| 23 |
| 24 WebCompositorAnimationDelegate* m_delegate; |
| 25 }; |
| 26 |
| 27 } // namespace blink |
| 28 |
| 29 #endif // WebToCCAnimationDelegateAdapter_h |
OLD | NEW |