tree: eb1cd38c46bef79356ca20be20921006363da76c [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. OWNERS
  4. README.md
  5. visibility_timer_tab_helper.cc
  6. visibility_timer_tab_helper.h
  7. visibility_timer_tab_helper_unittest.cc
components/visibility_timer/README.md

Visibility Timer

VisibilityTimerTabHelper is a WebContentsObserver that executes a task after the WebContents has been continuously visible for a set amount of time. If the tab becomes hidden before the timer fires, the timer is reset. This is useful for deferring non-critical actions until a user explicitly keeps a tab visible for a given duration.