summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 01:07:32 +0000
committerandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 01:07:32 +0000
commitdd6ab128e8f9928a978d60d66ae8a46b2f8ff3d8 (patch)
treeeacd2b8cd9ed5c35c036ae6108c6b4b7fa725c79 /chrome/common
parent3abf757860d29f2939b70b6ac862981169d61939 (diff)
downloadchromium_src-dd6ab128e8f9928a978d60d66ae8a46b2f8ff3d8.zip
chromium_src-dd6ab128e8f9928a978d60d66ae8a46b2f8ff3d8.tar.gz
chromium_src-dd6ab128e8f9928a978d60d66ae8a46b2f8ff3d8.tar.bz2
[Mac] Fix for a bug where extensions were not being notified when no window was in focus on the mac.
BUG=32932 TEST=check bug. Review URL: http://codereview.chromium.org/2847062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/notification_type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index 19b0465..bf0d053 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -218,6 +218,11 @@ class NotificationType {
// This message is sent when the application is terminating (Mac OS X only
// at present). No source or details are passed.
APP_TERMINATING,
+
+ // This notification is sent when the app has no key window, such as when
+ // all windows are closed but the app is still active. No source or details
+ // are provided.
+ NO_KEY_WINDOW,
#endif
// This is sent when the user has chosen to exit the app, but before any