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

Unified Diff: chrome/browser/notifications/notification_ui_manager_impl.h

Issue 11421029: Remove PrefObserver usages, batch 13. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix - rebase Created 8 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/notifications/notification_ui_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/notification_ui_manager_impl.h
diff --git a/chrome/browser/notifications/notification_ui_manager_impl.h b/chrome/browser/notifications/notification_ui_manager_impl.h
index 0adebdfb88b4cf1f738ab7751ef8ceb4884d98ce..ea8dce6418d8dadc41d06b99c5e31d4a66ac2ae4 100644
--- a/chrome/browser/notifications/notification_ui_manager_impl.h
+++ b/chrome/browser/notifications/notification_ui_manager_impl.h
@@ -11,7 +11,6 @@
#include "base/id_map.h"
#include "base/memory/scoped_ptr.h"
-#include "base/prefs/public/pref_observer.h"
#include "base/timer.h"
#include "chrome/browser/api/prefs/pref_member.h"
#include "chrome/browser/notifications/balloon.h"
@@ -32,8 +31,7 @@ class NotificationUIManagerImpl
: public NotificationUIManager,
public NotificationPrefsManager,
public BalloonCollection::BalloonSpaceChangeListener,
- public content::NotificationObserver,
- public PrefObserver {
+ public content::NotificationObserver {
public:
explicit NotificationUIManagerImpl(PrefService* local_state);
virtual ~NotificationUIManagerImpl();
@@ -65,9 +63,7 @@ class NotificationUIManagerImpl
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // PrefObserver override.
- virtual void OnPreferenceChanged(PrefServiceBase* service,
- const std::string& pref_name) OVERRIDE;
+ void OnDesktopNotificationPositionChanged();
// Attempts to display notifications from the show_queue if the user
// is active.
« no previous file with comments | « no previous file | chrome/browser/notifications/notification_ui_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698