diff options
Diffstat (limited to 'chrome/browser/ui/browser_list_mac.mm')
-rw-r--r-- | chrome/browser/ui/browser_list_mac.mm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser_list_mac.mm b/chrome/browser/ui/browser_list_mac.mm new file mode 100644 index 0000000..5c2ed9a --- /dev/null +++ b/chrome/browser/ui/browser_list_mac.mm @@ -0,0 +1,14 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/browser_list.h" + +#include "chrome/browser/browser_shutdown.h" +#import "chrome/browser/chrome_browser_application_mac.h" + +// static +void BrowserList::AllBrowsersClosedAndAppExiting() { + // Last browser is closed, so call back to controller to shutdown the app. + chrome_browser_application_mac::Terminate(); +} |