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

Unified Diff: ui/compositor/test/layer_animation_observer_test_api.cc

Issue 1369393002: Added a CallbackLayerAnimationObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed concerns from patch set 8. Created 5 years, 2 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
« no previous file with comments | « ui/compositor/test/layer_animation_observer_test_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/compositor/test/layer_animation_observer_test_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698