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

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: Created 4 years, 8 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 5c698601fcd821a579356d1b2d8a60e99a2f0e44..df46e265ab6d0c176179f51bd2b8d6489f37f8ce 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -511,6 +511,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