| Index: chrome/browser/ui/browser_list_aura.cc
|
| diff --git a/chrome/browser/ui/browser_list_aura.cc b/chrome/browser/ui/browser_list_aura.cc
|
| index fd07304606996853208683e2389a217505740d59..16ad02bc6b9556e4ea64600573e5503c769948ac 100644
|
| --- a/chrome/browser/ui/browser_list_aura.cc
|
| +++ b/chrome/browser/ui/browser_list_aura.cc
|
| @@ -6,9 +6,16 @@
|
|
|
| #include "base/command_line.h"
|
| #include "chrome/common/chrome_switches.h"
|
| +#include "chrome/browser/browser_process.h"
|
| +#include "chrome/browser/notifications/notification_ui_manager.h"
|
|
|
| // static
|
| void BrowserList::HandleAppExitingForPlatform() {
|
| + // Close All non browser windows now. Those includes notifications
|
| + // and windows created by Ash (launcher, background, etc).
|
| + g_browser_process->notification_ui_manager()->CancelAll();
|
| + // TODO(oshima): Close all non browser windows here while
|
| + // the message loop is still alive.
|
| #if defined(OS_CHROMEOS)
|
| if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableZeroBrowsersOpenForTests)) {
|
|
|