Index: chrome/browser/ui/unload_controller.cc |
diff --git a/chrome/browser/ui/unload_controller.cc b/chrome/browser/ui/unload_controller.cc |
index c838992ef6116f0cb6ab3a604c2539db2cbd0ee2..98502643c3442eadaa2f84036acc737c664f2e2c 100644 |
--- a/chrome/browser/ui/unload_controller.cc |
+++ b/chrome/browser/ui/unload_controller.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/devtools/devtools_window.h" |
#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/browser_list.h" |
#include "chrome/browser/ui/browser_tabstrip.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "content/public/browser/notification_service.h" |
@@ -222,6 +223,8 @@ void UnloadController::CancelWindowClose() { |
} |
is_attempting_to_close_browser_ = false; |
+ BrowserList::NotifyBrowserCloseCancelled(browser_); |
+ |
content::NotificationService::current()->Notify( |
chrome::NOTIFICATION_BROWSER_CLOSE_CANCELLED, |
content::Source<Browser>(browser_), |
sky
2017/03/31 14:23:41
Is it possible to remove this notification now?
Alexey Seren
2017/04/02 12:02:35
This notification is used in several places in chr
|