#include "ui/base/scoped_visibility_tracker.h"
#include <utility>
#include "base/time/tick_clock.h"
namespace ui {
ScopedVisibilityTracker::ScopedVisibilityTracker(
const base::TickClock* tick_clock,
bool is_shown)
: … { … }
ScopedVisibilityTracker::~ScopedVisibilityTracker() { … }
void ScopedVisibilityTracker::OnShown() { … }
void ScopedVisibilityTracker::OnHidden() { … }
base::TimeDelta ScopedVisibilityTracker::GetForegroundDuration() const { … }
void ScopedVisibilityTracker::Update(bool in_foreground) { … }
}