This CL throttles begin frame rate for unimportant frames (cross origin
frames with small proportion of the page's visible area and no user
activation) on foreground pages. Frame rate would be reduced to half of
normal frame rate.
Bug: 40942028
Change-Id: I772498058be52bafe86ba396be36f1a6a38cf988
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5682484
Reviewed-by: Patrick Monette <pmonette@chromium.org>
Commit-Queue: Zheda Chen <zheda.chen@intel.com>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1376077}
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}