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

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

Issue 2471153002: [scheduler] Use Finch to control background throttling. (Closed)
Patch Set: Fix test and address comments Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/public/platform/WebViewScheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebSettings.h
diff --git a/third_party/WebKit/public/web/WebSettings.h b/third_party/WebKit/public/web/WebSettings.h
index 72e7a075bd372cf2db2d0d347d00674f2976f3b6..124be313b23786c115b9df0d28732df01e4e37ea 100644
--- a/third_party/WebKit/public/web/WebSettings.h
+++ b/third_party/WebKit/public/web/WebSettings.h
@@ -289,6 +289,11 @@ class WebSettings {
virtual void setWebSecurityEnabled(bool) = 0;
virtual void setWideViewportQuirkEnabled(bool) = 0;
virtual void setXSSAuditorEnabled(bool) = 0;
+ // Background timer throttling aggressiveness settings.
+ virtual void setExpensiveBackgroundThrottlingCPUBudget(float) = 0;
+ virtual void setExpensiveBackgroundThrottlingInitialBudget(float) = 0;
+ virtual void setExpensiveBackgroundThrottlingMaxBudget(float) = 0;
+ virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0;
protected:
~WebSettings() {}
« no previous file with comments | « third_party/WebKit/public/platform/WebViewScheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698