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

Unified Diff: chrome/browser/ui/browser.h

Issue 1931793002: Stop using nested message loop for alert() and other JS dialogs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated comment Created 4 years, 7 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: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 6456ee54ab6dfef47d80e00f2467aa620f240401..208fd62605aa97704d842567c907260274af0790 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -513,6 +513,9 @@ class Browser : public TabStripModelObserver,
return extension_window_controller_.get();
}
+ bool ShouldRunUnloadListenerBeforeClosing(content::WebContents* web_contents);
+ bool RunUnloadListenerBeforeClosing(content::WebContents* web_contents);
+
private:
friend class BrowserTest;
friend class FullscreenControllerInteractiveTest;

Powered by Google App Engine
This is Rietveld 408576698