Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: third_party/WebKit/public/web/WebRuntimeFeatures.h

Issue 2345483002: [scheduler] Throttle background frames with 1% CPU limit (Closed)
Patch Set: [scheduler] Throttle background frames with 1% CPU limit Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebRuntimeFeatures.h
diff --git a/third_party/WebKit/public/web/WebRuntimeFeatures.h b/third_party/WebKit/public/web/WebRuntimeFeatures.h
index 6afab4d3a19b7d85714366b479202d65cda9075f..df7967ed9d1e7d8dd29a00e451dcb31d9e71cf25 100644
--- a/third_party/WebKit/public/web/WebRuntimeFeatures.h
+++ b/third_party/WebKit/public/web/WebRuntimeFeatures.h
@@ -129,6 +129,7 @@ public:
BLINK_EXPORT static void enableAutoplayMutedVideos(bool);
BLINK_EXPORT static void enableTimerThrottlingForBackgroundTabs(bool);
BLINK_EXPORT static void enableTimerThrottlingForHiddenFrames(bool);
+ BLINK_EXPORT static void enableExpensiveBackgroundTimerThrottling(bool);
BLINK_EXPORT static void enableCanvas2dDynamicRenderingModeSwitching(bool);
BLINK_EXPORT static void enableSendBeaconThrowForBlobWithNonSimpleType(bool);
private:

Powered by Google App Engine
This is Rietveld 408576698