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

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 comments and removed unused declaration 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
« no previous file with comments | « chrome/browser/extensions/content_script_apitest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 2282b02040e270c412677a192d0f2560a873dfa0..2196898ed2b2177fedc25524fb6ea625418ee4d4 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;
« no previous file with comments | « chrome/browser/extensions/content_script_apitest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698