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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 2384813002: Don't wait to close tabs waiting for JavaScript dialogs. (Closed)
Patch Set: better Created 4 years, 2 months 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
Index: content/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index b63dcbb38eb301ea83335deb45968604c90a9782..78155655c206f3f5cc1d4606edfc037d4e45451f 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -151,7 +151,8 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
RENDERER_UNRESPONSIVE_BEFORE_UNLOAD = 4,
RENDERER_UNRESPONSIVE_UNLOAD = 5,
RENDERER_UNRESPONSIVE_CLOSE_PAGE = 6,
- RENDERER_UNRESPONSIVE_MAX = RENDERER_UNRESPONSIVE_CLOSE_PAGE,
+ RENDERER_UNRESPONSIVE_DIALOG_SHOWING = 7,
Charlie Reis 2016/10/08 00:20:27 Don't need this anymore.
Avi (use Gerrit) 2016/10/08 00:44:24 Done.
+ RENDERER_UNRESPONSIVE_MAX = RENDERER_UNRESPONSIVE_DIALOG_SHOWING,
};
// Notification that the renderer has become unresponsive. The

Powered by Google App Engine
This is Rietveld 408576698