Index: chrome/browser/app_controller_mac.mm |
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm |
index 3c23641a9a69179cc562c4ade434f139de6808c3..094f5de29d538907797f213f725848a819119e47 100644 |
--- a/chrome/browser/app_controller_mac.mm |
+++ b/chrome/browser/app_controller_mac.mm |
@@ -363,6 +363,10 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver { |
// Nothing here right now. |
} |
+- (void)applicationWillHide:(NSNotification*)notification { |
+ apps::ExtensionAppShimHandler::OnChromeWillHide(); |
+} |
+ |
- (BOOL)tryToTerminateApplication:(NSApplication*)app { |
// Check for in-process downloads, and prompt the user if they really want |
// to quit (and thus cancel downloads). Only check if we're not already |