OOPIF-ize hung renderers
https://chromium-review.googlesource.com/c/chromium/src/+/896343
This commit is contained in:
parent
2047929cb5
commit
100291ec42
4 changed files with 10 additions and 6 deletions
|
@ -699,11 +699,13 @@ void WebContents::ExitFullscreenModeForTab(content::WebContents* source) {
|
|||
|
||||
void WebContents::RendererUnresponsive(
|
||||
content::WebContents* source,
|
||||
const content::WebContentsUnresponsiveState& unresponsive_state) {
|
||||
content::RenderWidgetHost* render_widget_host) {
|
||||
Emit("unresponsive");
|
||||
}
|
||||
|
||||
void WebContents::RendererResponsive(content::WebContents* source) {
|
||||
void WebContents::RendererResponsive(
|
||||
content::WebContents* source,
|
||||
content::RenderWidgetHost* render_widget_host) {
|
||||
Emit("responsive");
|
||||
for (ExtendedWebContentsObserver& observer : observers_)
|
||||
observer.OnRendererResponsive();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue