Halt OffscreenCanvas animations when page is hidden
This CL uses a (possibly) cross-thread asynchronous signal to notify
OffscreenCanvasFrameDispatcherImpl that it's associated placeholder
canvas has changed its visibility state. This information is in turn
used to suspend animation in the OffscreenCanvas.
Commit-Queue: Justin Novosad <email@example.com>
Reviewed-by: Xida Chen <firstname.lastname@example.org>
10 files changed