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

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: now a bit on webcontents, no timer fiddling 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 2f3a2b37023ed95cd7ad8f894bbefef6d064fd76..24db246cbc7c25b30fce5b785bb212598fa74deb 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,
+ RENDERER_UNRESPONSIVE_MAX = RENDERER_UNRESPONSIVE_DIALOG_SHOWING,
};
// Notification that the renderer has become unresponsive. The

Powered by Google App Engine
This is Rietveld 408576698