Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(845)

Unified Diff: ui/compositor/test/multi_layer_animator_test_controller_delegate.h

Issue 1900283002: Added ui::test::MultiLayerAnimatorTestController and Delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated gn build. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/compositor/test/multi_layer_animator_test_controller_delegate.h
diff --git a/ui/compositor/test/multi_layer_animator_test_controller_delegate.h b/ui/compositor/test/multi_layer_animator_test_controller_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..f35222030b9d988b6ac32e412c2f0781504fad8e
--- /dev/null
+++ b/ui/compositor/test/multi_layer_animator_test_controller_delegate.h
@@ -0,0 +1,34 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_DELEGATE_H_
+#define UI_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_DELEGATE_H_
+
+#include <vector>
+
+#include "base/macros.h"
+#include "base/time/time.h"
+
+namespace ui {
+class LayerAnimator;
+
+namespace test {
+
+class MultiLayerAnimatorTestControllerDelegate {
+ public:
+ // Get a list of all the LayerAnimator's used by the animation.
+ virtual std::vector<ui::LayerAnimator*> GetLayerAnimators() = 0;
+
+ protected:
+ MultiLayerAnimatorTestControllerDelegate() {}
+ virtual ~MultiLayerAnimatorTestControllerDelegate() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(MultiLayerAnimatorTestControllerDelegate);
+};
+
+} // namespace test
+} // namespace ui
+
+#endif // UI_COMPOSITOR_TEST_MULTI_LAYER_ANIMATOR_TEST_CONTROLLER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698