summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notification_prefs_manager.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-11 00:59:14 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-11 00:59:14 +0000
commit93b1c4e979784d6741cad83cedbc2405878b0ecf (patch)
treee653029e2eba8f44d4c2565f46fdf1785121dd4b /chrome/browser/notifications/notification_prefs_manager.h
parente0e9dff62d8dfb9d43259e54a0e01c21e2b4c062 (diff)
downloadchromium_src-93b1c4e979784d6741cad83cedbc2405878b0ecf.zip
chromium_src-93b1c4e979784d6741cad83cedbc2405878b0ecf.tar.gz
chromium_src-93b1c4e979784d6741cad83cedbc2405878b0ecf.tar.bz2
Remove balloon notification code. The last user was the Linux GTK port but that's deleted now.
BUG=297026, 361784 R=mukai@chromium.org, stevenjb@chromium.org Review URL: https://codereview.chromium.org/231723006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/notification_prefs_manager.h')
-rw-r--r--chrome/browser/notifications/notification_prefs_manager.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/chrome/browser/notifications/notification_prefs_manager.h b/chrome/browser/notifications/notification_prefs_manager.h
deleted file mode 100644
index 9bb1be2..0000000
--- a/chrome/browser/notifications/notification_prefs_manager.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_
-#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_
-
-#include "chrome/browser/notifications/balloon_collection.h"
-
-class PrefService;
-class PrefRegistrySimple;
-
-// This interface is used to access and mutate the preferences related to
-// desktop notifications.
-class NotificationPrefsManager {
- public:
- explicit NotificationPrefsManager(PrefService* prefs);
- virtual ~NotificationPrefsManager() {}
-
- // Registers preferences.
- static void RegisterPrefs(PrefRegistrySimple* registry);
-
- // Gets the preference indicating where notifications should be placed.
- virtual BalloonCollection::PositionPreference
- GetPositionPreference() const = 0;
-
- // Sets the preference that indicates where notifications should
- // be placed on the screen.
- virtual void SetPositionPreference(
- BalloonCollection::PositionPreference preference) = 0;
-
- protected:
- NotificationPrefsManager() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(NotificationPrefsManager);
-};
-
-#endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_