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

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

Issue 160963002: Reset UnloadController::is_attempting_to_close_browser_ when the download-in-progress prompt is can… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | chrome/browser/ui/unload_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 46a8e6495b000cf5aa89635ad2310fac9c224019..86edf7f5f5873b47744bffa893ba7a75d46b1fcf 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -693,6 +693,7 @@ void Browser::InProgressDownloadResponse(bool cancel_downloads) {
// Show the download page so the user can figure-out what downloads are still
// in-progress.
chrome::ShowDownloads(this);
+ unload_controller_->CancelWindowClose();
Sam McNally 2014/02/16 23:54:29 if (IsFastTabUnloadEnabled()) fast_unload_cont
benjhayden 2014/02/18 18:08:25 Done.
}
Browser::DownloadClosePreventionType Browser::OkToCloseWithInProgressDownloads(
« no previous file with comments | « no previous file | chrome/browser/ui/unload_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698