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 UI_COMPOSITOR_TEST_LAYER_ANIMATOR_COLLECTION_TEST_CONTROLLER_H_ |
| 6 #define UI_COMPOSITOR_TEST_LAYER_ANIMATOR_COLLECTION_TEST_CONTROLLER_H_ |
| 7 |
| 8 #include "ui/compositor/layer_animator_collection.h" |
| 9 |
| 10 namespace ui { |
| 11 |
| 12 // Allows tests to access the animators in the collection. |
| 13 class LayerAnimatorCollectionTestController { |
| 14 public: |
| 15 explicit LayerAnimatorCollectionTestController( |
| 16 LayerAnimatorCollection* collection); |
| 17 ~LayerAnimatorCollectionTestController(); |
| 18 |
| 19 void StopAllAnimators(); |
| 20 |
| 21 private: |
| 22 LayerAnimatorCollection* collection_; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(LayerAnimatorCollectionTestController); |
| 25 }; |
| 26 |
| 27 } // namespace ui |
| 28 |
| 29 #endif // UI_COMPOSITOR_TEST_LAYER_ANIMATOR_COLLECTION_TEST_CONTROLLER_H_ |
OLD | NEW |