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

Unified Diff: chrome/browser/notifications/message_center_notification_manager.cc

Issue 231723006: Remove balloon notification code. The last user was the Linux GTK port but that's deleted now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync after elliot's r263101 Created 6 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/browser/notifications/message_center_notification_manager.cc
===================================================================
--- chrome/browser/notifications/message_center_notification_manager.cc (revision 263121)
+++ chrome/browser/notifications/message_center_notification_manager.cc (working copy)
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
+#include "base/prefs/pref_registry_simple.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/notifications/desktop_notification_service.h"
@@ -90,6 +91,12 @@
message_center_->RemoveObserver(this);
}
+void MessageCenterNotificationManager::RegisterPrefs(
+ PrefRegistrySimple* registry) {
+ registry->RegisterBooleanPref(prefs::kMessageCenterShowedFirstRunBalloon,
+ false);
+}
+
////////////////////////////////////////////////////////////////////////////////
// NotificationUIManager

Powered by Google App Engine
This is Rietveld 408576698