#include "chrome/browser/ui/thumbnails/thumbnail_capture_driver.h"
#include "base/check_op.h"
#include "base/time/time.h"
constexpr base::TimeDelta ThumbnailCaptureDriver::kCooldownDelay;
constexpr size_t ThumbnailCaptureDriver::kMaxCooldownRetries;
ThumbnailCaptureDriver::ThumbnailCaptureDriver(Client* client,
ThumbnailScheduler* scheduler)
: … { … }
ThumbnailCaptureDriver::~ThumbnailCaptureDriver() { … }
void ThumbnailCaptureDriver::UpdatePageReadiness(PageReadiness page_readiness) { … }
void ThumbnailCaptureDriver::UpdatePageVisibility(bool page_visible) { … }
void ThumbnailCaptureDriver::UpdateThumbnailVisibility(bool thumbnail_visible) { … }
void ThumbnailCaptureDriver::SetCanCapture(bool can_capture) { … }
void ThumbnailCaptureDriver::GotFrame() { … }
void ThumbnailCaptureDriver::SetCapturePermittedByScheduler(bool scheduled) { … }
void ThumbnailCaptureDriver::UpdateCaptureState() { … }
void ThumbnailCaptureDriver::UpdateSchedulingPriority() { … }
void ThumbnailCaptureDriver::StartCooldown() { … }
void ThumbnailCaptureDriver::OnCooldownEnded() { … }