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

Unified Diff: ui/message_center/views/message_popup_collection.h

Issue 657923005: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: ui/message_center/views/message_popup_collection.h
diff --git a/ui/message_center/views/message_popup_collection.h b/ui/message_center/views/message_popup_collection.h
index f015319c5e0e167d1c8d08fafb8c571b92a2fedb..d03923bfed4d80fc46e4cb52c2d0325321688d1c 100644
--- a/ui/message_center/views/message_popup_collection.h
+++ b/ui/message_center/views/message_popup_collection.h
@@ -59,18 +59,18 @@ class MESSAGE_CENTER_EXPORT MessagePopupCollection
MessageCenter* message_center,
MessageCenterTray* tray,
PopupAlignmentDelegate* alignment_delegate);
- virtual ~MessagePopupCollection();
+ ~MessagePopupCollection() override;
// Overridden from MessageCenterController:
- virtual void ClickOnNotification(const std::string& notification_id) override;
- virtual void RemoveNotification(const std::string& notification_id,
- bool by_user) override;
- virtual scoped_ptr<ui::MenuModel> CreateMenuModel(
+ void ClickOnNotification(const std::string& notification_id) override;
+ void RemoveNotification(const std::string& notification_id,
+ bool by_user) override;
+ scoped_ptr<ui::MenuModel> CreateMenuModel(
const NotifierId& notifier_id,
const base::string16& display_source) override;
- virtual bool HasClickedListener(const std::string& notification_id) override;
- virtual void ClickOnNotificationButton(const std::string& notification_id,
- int button_index) override;
+ bool HasClickedListener(const std::string& notification_id) override;
+ void ClickOnNotificationButton(const std::string& notification_id,
+ int button_index) override;
void MarkAllPopupsShown();
@@ -128,11 +128,10 @@ class MESSAGE_CENTER_EXPORT MessagePopupCollection
int GetBaseLine(ToastContentsView* last_toast) const;
// 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;
+ 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;
ToastContentsView* FindToast(const std::string& notification_id) const;
« no previous file with comments | « ui/message_center/views/message_center_view_unittest.cc ('k') | ui/message_center/views/message_popup_collection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698