This adds a content/ API to trigger throttling in the frame sink manager,
implements the throttling functionality in frame sinks, and adds the code
to enable/disable throttling when battery saver mode is enabled via a
pref.
DD: go/uv-performance-dd
Bug: 1308741
Change-Id: I6935a4c68271344f50624bae12cacef4c561794e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3669520
Reviewed-by: Francois Pierre Doray <fdoray@chromium.org>
Commit-Queue: Anthony Vallée-Dubois <anthonyvd@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Jonathan Ross <jonross@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1010217}