#include "ui/compositor/callback_layer_animation_observer.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "ui/compositor/layer_animation_sequence.h"
namespace ui {
void CallbackLayerAnimationObserver::DummyAnimationStartedCallback(
const CallbackLayerAnimationObserver&) { … }
bool CallbackLayerAnimationObserver::DummyAnimationEndedCallback(
bool should_delete_observer,
const CallbackLayerAnimationObserver&) { … }
CallbackLayerAnimationObserver::CallbackLayerAnimationObserver(
AnimationStartedCallback animation_started_callback,
AnimationEndedCallback animation_ended_callback)
: … { … }
CallbackLayerAnimationObserver::CallbackLayerAnimationObserver(
AnimationStartedCallback animation_started_callback,
bool should_delete_observer)
: … { … }
CallbackLayerAnimationObserver::CallbackLayerAnimationObserver(
AnimationEndedCallback animation_ended_callback)
: … { … }
CallbackLayerAnimationObserver::~CallbackLayerAnimationObserver() = default;
void CallbackLayerAnimationObserver::SetActive() { … }
void CallbackLayerAnimationObserver::OnLayerAnimationStarted(
ui::LayerAnimationSequence* sequence) { … }
void CallbackLayerAnimationObserver::OnLayerAnimationEnded(
ui::LayerAnimationSequence* sequence) { … }
void CallbackLayerAnimationObserver::OnLayerAnimationAborted(
ui::LayerAnimationSequence* sequence) { … }
void CallbackLayerAnimationObserver::OnLayerAnimationScheduled(
ui::LayerAnimationSequence* sequence) { … }
bool CallbackLayerAnimationObserver::RequiresNotificationWhenAnimatorDestroyed()
const { … }
void CallbackLayerAnimationObserver::OnAttachedToSequence(
ui::LayerAnimationSequence* sequence) { … }
void CallbackLayerAnimationObserver::OnDetachedFromSequence(
ui::LayerAnimationSequence* sequence) { … }
int CallbackLayerAnimationObserver::GetNumSequencesCompleted() { … }
void CallbackLayerAnimationObserver::CheckAllSequencesStartedAndCompleted() { … }
void CallbackLayerAnimationObserver::CheckAllSequencesStarted() { … }
void CallbackLayerAnimationObserver::CheckAllSequencesCompleted() { … }
}