0
Commit Graph

3 Commits

Author SHA1 Message Date
Zheda Chen
88df300592 [PM] Throttle begin frame rate for unimportant frames
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}
2024-10-31 03:19:04 +00:00
Avi Drissman
4e1b7bc33d Update copyright headers in content/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c34.

No-Try: true
No-Presubmit: true
Bug: 1098010
Change-Id: I8c0f009d16350271f07d8e5e561085822cc9dd27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3895935
Owners-Override: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1047456}
2022-09-15 14:03:50 +00:00
Anthony Vallee-Dubois
06ac4205b1 Implement frame rate throttling for battery saver mode
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}
2022-06-02 19:01:43 +00:00