blob: 92f8767991d958c8aa2e251fd33e743ad1749823 [file] [log] [blame]
// 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