#include "ui/compositor/animation_throughput_reporter.h"
#include <memory>
#include <optional>
#include <utility>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/time/time.h"
#include "cc/animation/animation.h"
#include "ui/compositor/callback_layer_animation_observer.h"
#include "ui/compositor/compositor.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animation_delegate.h"
#include "ui/compositor/layer_animation_sequence.h"
#include "ui/compositor/layer_animator.h"
#include "ui/compositor/throughput_tracker.h"
namespace ui {
class AnimationThroughputReporter::AnimationTracker
: public CallbackLayerAnimationObserver { … };
AnimationThroughputReporter::AnimationThroughputReporter(
scoped_refptr<LayerAnimator> animator,
ReportCallback report_callback)
: … { … }
AnimationThroughputReporter::~AnimationThroughputReporter() { … }
Compositor* AnimationThroughputReporter::GetCompositor(
LayerAnimator* animator) { … }
bool AnimationThroughputReporter::IsAnimatorAttachedToTimeline(
LayerAnimator* animator) { … }
}