summaryrefslogtreecommitdiff
path: root/chromium/ui/message_center/message_center.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-11-20 15:06:40 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-11-22 11:48:58 +0000
commitdaa093eea7c773db06799a13bd7e4e2e2a9f8f14 (patch)
tree96cc5e7b9194c1b29eab927730bfa419e7111c25 /chromium/ui/message_center/message_center.h
parentbe59a35641616a4cf23c4a13fa0632624b021c1b (diff)
downloadqtwebengine-chromium-daa093eea7c773db06799a13bd7e4e2e2a9f8f14.tar.gz
BASELINE: Update Chromium to 63.0.3239.58
Change-Id: Ia93b322a00ba4dd4004f3bcf1254063ba90e1605 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/ui/message_center/message_center.h')
-rw-r--r--chromium/ui/message_center/message_center.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/chromium/ui/message_center/message_center.h b/chromium/ui/message_center/message_center.h
index 2eebf0ff4b7..2ca6562c31c 100644
--- a/chromium/ui/message_center/message_center.h
+++ b/chromium/ui/message_center/message_center.h
@@ -63,10 +63,6 @@ class MESSAGE_CENTER_EXPORT MessageCenter {
// Destroys the global message_center object.
static void Shutdown();
- // Returns if new style notification is enabled, i.e. NotificationViewMD is
- // used instead of NotificationView.
- static bool IsNewStyleNotificationEnabled();
-
// Management of the observer list.
virtual void AddObserver(MessageCenterObserver* observer) = 0;
virtual void RemoveObserver(MessageCenterObserver* observer) = 0;
@@ -126,12 +122,6 @@ class MESSAGE_CENTER_EXPORT MessageCenter {
int button_index,
const gfx::Image& image) = 0;
- // Operations happening especially from GUIs: click, disable, and settings.
- // Searches through the notifications and disables any that match the
- // extension id given.
- virtual void DisableNotificationsByNotifier(
- const NotifierId& notifier_id) = 0;
-
// This should be called by UI classes when a notification is clicked to
// trigger the notification's delegate callback and also update the message
// center observers.
@@ -208,19 +198,11 @@ class MESSAGE_CENTER_EXPORT MessageCenter {
friend class TrayViewControllerTest;
friend class test::MessagePopupCollectionTest;
virtual void DisableTimersForTest() = 0;
- virtual void EnableChangeQueueForTest(bool enabled) = 0;
MessageCenter();
virtual ~MessageCenter();
private:
- // Forces to flush the queued changes even when the message center opens. This
- // method is a workaround of UpdateNotification not updating notifications
- // while the message center.
- // Note carefully: this may break the layout of message center. Shouldn't use
- // this method if the update changes its notification size.
- virtual void ForceNotificationFlush(const std::string& id) {}
-
DISALLOW_COPY_AND_ASSIGN(MessageCenter);
};