Index: ui/message_center/message_center_tray.h |
diff --git a/ui/message_center/message_center_tray.h b/ui/message_center/message_center_tray.h |
index 6e8140945a074afb5df12639a473825999fbf416..5cd6b8d314c49384e28e16df3cc6afc6a7bad977 100644 |
--- a/ui/message_center/message_center_tray.h |
+++ b/ui/message_center/message_center_tray.h |
@@ -34,7 +34,7 @@ class MESSAGE_CENTER_EXPORT MessageCenterTray : public MessageCenterObserver { |
public: |
MessageCenterTray(MessageCenterTrayDelegate* delegate, |
message_center::MessageCenter* message_center); |
- virtual ~MessageCenterTray(); |
+ ~MessageCenterTray() override; |
// Shows or updates the message center bubble and hides the popup bubble. |
// Returns whether the message center is visible after the call, whether or |
@@ -74,21 +74,17 @@ class MESSAGE_CENTER_EXPORT MessageCenterTray : public MessageCenterObserver { |
message_center::MessageCenter* message_center() { return message_center_; } |
// Overridden from MessageCenterObserver: |
- virtual void OnNotificationAdded(const std::string& notification_id) override; |
- virtual void OnNotificationRemoved(const std::string& notification_id, |
- bool by_user) override; |
- virtual void OnNotificationUpdated( |
- const std::string& notification_id) override; |
- virtual void OnNotificationClicked( |
- const std::string& notification_id) override; |
- virtual void OnNotificationButtonClicked( |
- const std::string& notification_id, |
- int button_index) override; |
- virtual void OnNotificationDisplayed( |
- const std::string& notification_id, |
- const DisplaySource source) override; |
- virtual void OnQuietModeChanged(bool in_quiet_mode) override; |
- virtual void OnBlockingStateChanged(NotificationBlocker* blocker) override; |
+ void OnNotificationAdded(const std::string& notification_id) override; |
+ void OnNotificationRemoved(const std::string& notification_id, |
+ bool by_user) override; |
+ void OnNotificationUpdated(const std::string& notification_id) override; |
+ void OnNotificationClicked(const std::string& notification_id) override; |
+ void OnNotificationButtonClicked(const std::string& notification_id, |
+ int button_index) override; |
+ void OnNotificationDisplayed(const std::string& notification_id, |
+ const DisplaySource source) override; |
+ void OnQuietModeChanged(bool in_quiet_mode) override; |
+ void OnBlockingStateChanged(NotificationBlocker* blocker) override; |
private: |
void OnMessageCenterChanged(); |