From b569c11767085b8e4b440d51b3bb84740a91f204 Mon Sep 17 00:00:00 2001 From: "atwilson@chromium.org" Date: Mon, 22 Nov 2010 20:53:44 +0000 Subject: Display badge when new background page is installed. Added BackgroundPageTracker which tracks which extensions/apps contain background pages. Added code to wrench menu/toolbar to display a badge when there is a new background page added to the system. BUG=59980 TEST=BackgroundPageTrackerTest Review URL: http://codereview.chromium.org/5207002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66997 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/prefs/browser_prefs.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/browser/prefs') diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc index 0572dbb..dcc3624 100644 --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc @@ -8,6 +8,7 @@ #include "chrome/browser/autofill/autofill_manager.h" #include "chrome/browser/background_contents_service.h" #include "chrome/browser/background_mode_manager.h" +#include "chrome/browser/background_page_tracker.h" #include "chrome/browser/bookmarks/bookmark_utils.h" #include "chrome/browser/browser_shutdown.h" #include "chrome/browser/debugger/devtools_manager.h" @@ -97,6 +98,7 @@ void RegisterLocalState(PrefService* local_state) { TaskManager::RegisterPrefs(local_state); geolocation::RegisterPrefs(local_state); AutoFillManager::RegisterBrowserPrefs(local_state); + BackgroundPageTracker::RegisterPrefs(local_state); #if defined(OS_CHROMEOS) chromeos::UserManager::RegisterPrefs(local_state); chromeos::UserCrosSettingsProvider::RegisterPrefs(local_state); -- cgit v1.1