| 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 CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_ | 5 #ifndef CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_ |
| 6 #define CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_ | 6 #define CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "cc/animation/animation_delegate.h" | 10 #include "cc/animation/animation_delegate.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 private: | 23 private: |
| 24 void NotifyAnimationStarted(base::TimeTicks monotonic_time, | 24 void NotifyAnimationStarted(base::TimeTicks monotonic_time, |
| 25 cc::TargetProperty::Type target_property, | 25 cc::TargetProperty::Type target_property, |
| 26 int group) override; | 26 int group) override; |
| 27 void NotifyAnimationFinished(base::TimeTicks monotonic_time, | 27 void NotifyAnimationFinished(base::TimeTicks monotonic_time, |
| 28 cc::TargetProperty::Type target_property, | 28 cc::TargetProperty::Type target_property, |
| 29 int group) override; | 29 int group) override; |
| 30 void NotifyAnimationAborted(base::TimeTicks monotonic_time, | 30 void NotifyAnimationAborted(base::TimeTicks monotonic_time, |
| 31 cc::TargetProperty::Type target_property, | 31 cc::TargetProperty::Type target_property, |
| 32 int group) override; | 32 int group) override; |
| 33 void NotifyAnimationTakeover(base::TimeTicks monotonic_time, |
| 34 cc::TargetProperty::Type target_property, |
| 35 double animation_start_time, |
| 36 scoped_ptr<cc::AnimationCurve> curve) override {} |
| 33 | 37 |
| 34 blink::WebCompositorAnimationDelegate* delegate_; | 38 blink::WebCompositorAnimationDelegate* delegate_; |
| 35 | 39 |
| 36 DISALLOW_COPY_AND_ASSIGN(WebToCCAnimationDelegateAdapter); | 40 DISALLOW_COPY_AND_ASSIGN(WebToCCAnimationDelegateAdapter); |
| 37 }; | 41 }; |
| 38 | 42 |
| 39 } // namespace cc_blink | 43 } // namespace cc_blink |
| 40 | 44 |
| 41 #endif // CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_ | 45 #endif // CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_ |
| OLD | NEW |