| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 void NotifyAnimationAborted(base::TimeTicks monotonic_time, | 105 void NotifyAnimationAborted(base::TimeTicks monotonic_time, |
| 106 TargetProperty::Type target_property, | 106 TargetProperty::Type target_property, |
| 107 int group) override {} | 107 int group) override {} |
| 108 void NotifyAnimationTakeover(base::TimeTicks monotonic_time, | 108 void NotifyAnimationTakeover(base::TimeTicks monotonic_time, |
| 109 TargetProperty::Type target_property, | 109 TargetProperty::Type target_property, |
| 110 double animation_start_time, | 110 double animation_start_time, |
| 111 std::unique_ptr<AnimationCurve> curve) override { | 111 std::unique_ptr<AnimationCurve> curve) override { |
| 112 } | 112 } |
| 113 | 113 |
| 114 virtual void RequestNewOutputSurface() = 0; | 114 virtual void RequestNewOutputSurface() = 0; |
| 115 | |
| 116 // Used to notify the test to create the Remote client LayerTreeHost on | |
| 117 // receiving a CompositorMessageToImpl of type INITIALIZE_IMPL. | |
| 118 virtual void CreateRemoteClientHost( | |
| 119 const proto::CompositorMessageToImpl& proto) {} | |
| 120 | |
| 121 // Used to notify the test to destroy the Remote client LayerTreeHost on | |
| 122 // receiving a CompositorMessageToImpl of type CLOSE_IMPL. | |
| 123 virtual void DestroyRemoteClientHost() {} | |
| 124 }; | 115 }; |
| 125 | 116 |
| 126 } // namespace cc | 117 } // namespace cc |
| 127 | 118 |
| 128 #endif // CC_TEST_TEST_HOOKS_H_ | 119 #endif // CC_TEST_TEST_HOOKS_H_ |
| OLD | NEW |