Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7072)

Unified Diff: chrome/common/chrome_notification_types.h

Issue 10779042: Move notifications only used in chrome/ to chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix oops Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_notification_types.h
diff --git a/chrome/common/chrome_notification_types.h b/chrome/common/chrome_notification_types.h
index 0184e850c08b205f694f17ee58fbb8c07112412f..8d88e677e10f40b02635ec30eb42ce0017683588 100644
--- a/chrome/common/chrome_notification_types.h
+++ b/chrome/common/chrome_notification_types.h
@@ -92,6 +92,26 @@ enum NotificationType {
// the form of a RetargetingDetails object are provided.
NOTIFICATION_RETARGETING,
+ // Application-wide ----------------------------------------------------------
+
+#if defined(OS_MACOSX)
+ // 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.
+ NOTIFICATION_NO_KEY_WINDOW,
+#endif
+
+ // This is sent when the user has chosen to exit the app, but before any
+ // browsers have closed. This is sent if the user chooses to exit (via exit
+ // menu item or keyboard shortcut) or to restart the process (such as in flags
+ // page), not if Chrome exits by some other means (such as the user closing
+ // the last window). No source or details are passed.
+ //
+ // Note that receiving this notification does not necessarily mean the process
+ // will exit because the shutdown process can be cancelled by an unload
+ // handler. Use APP_TERMINATING for such needs.
+ NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
+
// Application-modal dialogs -----------------------------------------------
// Sent after an application-modal dialog has been shown. The source

Powered by Google App Engine
This is Rietveld 408576698