| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TEST_TEST_HOOKS_H_ | 5 #ifndef CC_TEST_TEST_HOOKS_H_ |
| 6 #define CC_TEST_TEST_HOOKS_H_ | 6 #define CC_TEST_TEST_HOOKS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "cc/animation/animation_delegate.h" | 9 #include "cc/animation/animation_delegate.h" |
| 10 #include "cc/trees/layer_tree_host.h" | 10 #include "cc/trees/layer_tree_host.h" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 virtual void ReceivedPostFrameTimingEventsOnMain() {} | 123 virtual void ReceivedPostFrameTimingEventsOnMain() {} |
| 124 virtual void ReceivedBeginMainFrame() {} | 124 virtual void ReceivedBeginMainFrame() {} |
| 125 | 125 |
| 126 // Implementation of AnimationDelegate: | 126 // Implementation of AnimationDelegate: |
| 127 void NotifyAnimationStarted(base::TimeTicks monotonic_time, | 127 void NotifyAnimationStarted(base::TimeTicks monotonic_time, |
| 128 Animation::TargetProperty target_property, | 128 Animation::TargetProperty target_property, |
| 129 int group) override {} | 129 int group) override {} |
| 130 void NotifyAnimationFinished(base::TimeTicks monotonic_time, | 130 void NotifyAnimationFinished(base::TimeTicks monotonic_time, |
| 131 Animation::TargetProperty target_property, | 131 Animation::TargetProperty target_property, |
| 132 int group) override {} | 132 int group) override {} |
| 133 void NotifyAnimationAborted(base::TimeTicks monotonic_time, |
| 134 Animation::TargetProperty target_property, |
| 135 int group) override {} |
| 133 | 136 |
| 134 virtual void RequestNewOutputSurface() = 0; | 137 virtual void RequestNewOutputSurface() = 0; |
| 135 }; | 138 }; |
| 136 | 139 |
| 137 } // namespace cc | 140 } // namespace cc |
| 138 | 141 |
| 139 #endif // CC_TEST_TEST_HOOKS_H_ | 142 #endif // CC_TEST_TEST_HOOKS_H_ |
| OLD | NEW |