Support to suspend/resume active page tasks of blink in the content layer
This CL introduces new APIs to suspend/resume the active tasks on the page of blink. Android webview, devtools, or other projects which use the content module needs to be able to suspend current active tasks including active javascript, active timers, defer loadings, and so on. This CL supports to suspend/resume through the APIs when they want to pause current active tasks. This feature will help us to save CPU resources, and so on. Besides WebKit2 has been supporting this APIs for applications which uses WebKitWebView. TEST: WebContentsImplBrowserTest.PausePageScheduledTasks Bug: 822564 Change-Id: Icec0390c2dffd676a6079dd9e148feb8a3e859e1 Reviewed-on: https://chromium-review.googlesource.com/952642Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung.kim@lge.com> Cr-Commit-Position: refs/heads/master@{#547403}
Showing
Please register or sign in to comment