#include "components/viz/test/fake_surface_observer.h"
#include "components/viz/service/surfaces/surface_manager.h"
namespace viz {
FakeSurfaceObserver::FakeSurfaceObserver(SurfaceManager* manager,
bool damage_display)
: … { … }
FakeSurfaceObserver::~FakeSurfaceObserver() = default;
void FakeSurfaceObserver::Reset() { … }
bool FakeSurfaceObserver::IsSurfaceDamaged(const SurfaceId& surface_id) const { … }
bool FakeSurfaceObserver::OnSurfaceDamaged(
const SurfaceId& surface_id,
const BeginFrameAck& ack,
HandleInteraction handle_interaction) { … }
void FakeSurfaceObserver::OnFirstSurfaceActivation(
const SurfaceInfo& surface_info) { … }
void FakeSurfaceObserver::OnSurfaceActivated(const SurfaceId& surface_id) { … }
}