| Index: third_party/WebKit/Source/web/WebSettingsImpl.h
|
| diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.h b/third_party/WebKit/Source/web/WebSettingsImpl.h
|
| index a1b69c10edc98f0e4a48a812ea36f94e603cad83..dab96e4f555d098f54c44b55ecdad7859c11a28f 100644
|
| --- a/third_party/WebKit/Source/web/WebSettingsImpl.h
|
| +++ b/third_party/WebKit/Source/web/WebSettingsImpl.h
|
| @@ -203,6 +203,10 @@ class WEB_EXPORT WebSettingsImpl final
|
| void setWebSecurityEnabled(bool) override;
|
| void setWideViewportQuirkEnabled(bool) override;
|
| void setXSSAuditorEnabled(bool) override;
|
| + void setExpensiveBackgroundThrottlingCPUBudget(float) override;
|
| + void setExpensiveBackgroundThrottlingInitialBudget(float) override;
|
| + void setExpensiveBackgroundThrottlingMaxBudget(float) override;
|
| + void setExpensiveBackgroundThrottlingMaxDelay(float) override;
|
|
|
| bool showFPSCounter() const { return m_showFPSCounter; }
|
| bool showPaintRects() const { return m_showPaintRects; }
|
| @@ -227,6 +231,18 @@ class WEB_EXPORT WebSettingsImpl final
|
| bool clobberUserAgentInitialScaleQuirk() const {
|
| return m_clobberUserAgentInitialScaleQuirk;
|
| }
|
| + float expensiveBackgroundThrottlingCPUBudget() const {
|
| + return m_expensiveBackgroundThrottlingCPUBudget;
|
| + }
|
| + float expensiveBackgroundThrottlingInitialBudget() const {
|
| + return m_expensiveBackgroundThrottlingInitialBudget;
|
| + }
|
| + float expensiveBackgroundThrottlingMaxDelay() const {
|
| + return m_expensiveBackgroundThrottlingMaxDelay;
|
| + }
|
| + float expensiveBackgroundThrottlingMaxBudget() const {
|
| + return m_expensiveBackgroundThrottlingMaxBudget;
|
| + }
|
|
|
| void setMockGestureTapHighlightsEnabled(bool);
|
| bool mockGestureTapHighlightsEnabled() const;
|
| @@ -253,6 +269,10 @@ class WEB_EXPORT WebSettingsImpl final
|
| // the Android SDK prior to and including version 18. Presumably, this
|
| // can be removed any time after 2015. See http://crbug.com/313754.
|
| bool m_clobberUserAgentInitialScaleQuirk;
|
| + float m_expensiveBackgroundThrottlingCPUBudget;
|
| + float m_expensiveBackgroundThrottlingInitialBudget;
|
| + float m_expensiveBackgroundThrottlingMaxBudget;
|
| + float m_expensiveBackgroundThrottlingMaxDelay;
|
| };
|
|
|
| } // namespace blink
|
|
|