Index: ui/compositor/test/layer_animation_observer_test_api.cc |
diff --git a/ui/compositor/test/layer_animation_observer_test_api.cc b/ui/compositor/test/layer_animation_observer_test_api.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..92f8767991d958c8aa2e251fd33e743ad1749823 |
--- /dev/null |
+++ b/ui/compositor/test/layer_animation_observer_test_api.cc |
@@ -0,0 +1,26 @@ |
+// Copyright 2015 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. |
+ |
+#include "ui/compositor/test/layer_animation_observer_test_api.h" |
+ |
+namespace ui { |
+namespace test { |
+ |
+LayerAnimationObserverTestApi::LayerAnimationObserverTestApi( |
+ LayerAnimationObserver* observer) |
+ : observer_(observer) {} |
+ |
+void LayerAnimationObserverTestApi::AttachedToSequence( |
+ LayerAnimationSequence* sequence) { |
+ observer_->AttachedToSequence(sequence); |
+} |
+ |
+void LayerAnimationObserverTestApi::DetachedFromSequence( |
+ LayerAnimationSequence* sequence, |
+ bool send_notification) { |
+ observer_->DetachedFromSequence(sequence, send_notification); |
+} |
+ |
+} // namespace test |
+} // namespace ui |