Description[Android] Suspend shared timers for hidden renderers
Instead of tracking the visibility state of all renderers in the browser
and using that to kill shared timers, make each renderer process
responsible for the suspension of its own shared timers after it is
completely hidden. This ensures background tabs eventually go silent
even while a foreground tab (in a separate process) is active.
BUG=469049, 486135
Committed: https://crrev.com/73220f023ede1c7bd5c4bd5548e9b5f2b3531430
Cr-Commit-Position: refs/heads/master@{#347434}
Patch Set 1 #Patch Set 2 : Cleanup #Patch Set 3 : Comment #
Total comments: 4
Patch Set 4 : SetBackgrounded #Patch Set 5 : Rebase #Patch Set 6 : Move logic to the scheduler #
Total comments: 6
Patch Set 7 : Code review and test #
Total comments: 2
Patch Set 8 : Code review #
Total comments: 4
Patch Set 9 : Code review #Patch Set 10 : Use ContentRendererClient #Messages
Total messages: 33 (7 generated)
|