| Index: third_party/WebKit/Source/web/WebViewImpl.h
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
|
| index 5cbf14d9716cbf6d33dd9445dafc71953644c31b..6edb9d6272c03adf28f8f5f49a7796371434d130 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.h
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.h
|
| @@ -100,7 +100,8 @@ class WEB_EXPORT WebViewImpl final
|
| public RefCounted<WebViewImpl>,
|
| WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget),
|
| public PageWidgetEventHandler,
|
| - public WebScheduler::InterventionReporter {
|
| + public WebScheduler::InterventionReporter,
|
| + public WebViewScheduler::WebViewSchedulerSettings {
|
| public:
|
| static WebViewImpl* create(WebViewClient*, WebPageVisibilityState);
|
| static HashSet<WebViewImpl*>& allInstances();
|
| @@ -279,6 +280,12 @@ class WEB_EXPORT WebViewImpl final
|
| // WebScheduler::InterventionReporter implementation:
|
| void ReportIntervention(const WebString& message) override;
|
|
|
| + // WebViewScheduler::WebViewSchedulerSettings implementation:
|
| + float expensiveBackgroundThrottlingCPUBudget() override;
|
| + float expensiveBackgroundThrottlingInitialBudget() override;
|
| + float expensiveBackgroundThrottlingMaxBudget() override;
|
| + float expensiveBackgroundThrottlingMaxDelay() override;
|
| +
|
| void didUpdateFullscreenSize();
|
|
|
| float defaultMinimumPageScaleFactor() const;
|
|
|