multi_layer_animator_test_controller_delegate.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. // Copyright 2016 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. #ifndef UI_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_DELEGATE_H_
  5. #define UI_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_DELEGATE_H_
  6. #include <vector>
  7. namespace ui {
  8. class LayerAnimator;
  9. namespace test {
  10. class MultiLayerAnimatorTestControllerDelegate {
  11. public:
  12. MultiLayerAnimatorTestControllerDelegate(
  13. const MultiLayerAnimatorTestControllerDelegate&) = delete;
  14. MultiLayerAnimatorTestControllerDelegate& operator=(
  15. const MultiLayerAnimatorTestControllerDelegate&) = delete;
  16. // Get a list of all the LayerAnimator's used by the animation.
  17. virtual std::vector<ui::LayerAnimator*> GetLayerAnimators() = 0;
  18. protected:
  19. MultiLayerAnimatorTestControllerDelegate() {}
  20. virtual ~MultiLayerAnimatorTestControllerDelegate() {}
  21. };
  22. } // namespace test
  23. } // namespace ui
  24. #endif // UI_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_DELEGATE_H_