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

Unified Diff: chrome/common/chrome_notification_types.h

Issue 10298002: No longer start BG mode until a BackgroundContents is loaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prospective fix for cros test failures. Created 8 years, 8 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 c8411e48c73c5d40cbae762b4ceb34064c83e608..4ddeb7b125034015f4b9a1e63fc7be4fe258327c 100644
--- a/chrome/common/chrome_notification_types.h
+++ b/chrome/common/chrome_notification_types.h
@@ -200,6 +200,17 @@ enum NotificationType {
// and the details are the BackgroundContents.
NOTIFICATION_BACKGROUND_CONTENTS_TERMINATED,
+ // The background contents associated with a hosted app has changed (either
+ // a new background contents has been created, or an existing background
+ // contents has closed). The source is the parent Profile, and the details
+ // are the BackgroundContentsService.
+ NOTIFICATION_BACKGROUND_CONTENTS_SERVICE_CHANGED,
+
+ // Chrome has entered/exited background mode. The source is the
+ // BackgroundModeManager and the details are a boolean value which is set to
+ // true if Chrome is now in background mode.
+ NOTIFICATION_BACKGROUND_MODE_CHANGED,
+
// This is sent when a login prompt is shown. The source is the
// Source<NavigationController> for the tab in which the prompt is shown.
// Details are a LoginNotificationDetails which provide the LoginHandler

Powered by Google App Engine
This is Rietveld 408576698