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

Unified Diff: ui/message_center/notification_delegate.h

Issue 667923002: Standardize usage of virtual/override/final in ui/ (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
« no previous file with comments | « ui/message_center/message_center_tray_unittest.cc ('k') | ui/message_center/test/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification_delegate.h
diff --git a/ui/message_center/notification_delegate.h b/ui/message_center/notification_delegate.h
index 2faf2d0a82d5d1b6abcf7cc095a9d2dd62545a6c..f870fcb4d18f1f14b671ae3c066cadd7259f2f13 100644
--- a/ui/message_center/notification_delegate.h
+++ b/ui/message_center/notification_delegate.h
@@ -59,15 +59,15 @@ class MESSAGE_CENTER_EXPORT HandleNotificationClickedDelegate
explicit HandleNotificationClickedDelegate(const base::Closure& closure);
// message_center::NotificationDelegate overrides:
- virtual void Display() override;
- virtual void Error() override;
- virtual void Close(bool by_user) override;
- virtual bool HasClickedListener() override;
- virtual void Click() override;
- virtual void ButtonClick(int button_index) override;
+ void Display() override;
+ void Error() override;
+ void Close(bool by_user) override;
+ bool HasClickedListener() override;
+ void Click() override;
+ void ButtonClick(int button_index) override;
protected:
- virtual ~HandleNotificationClickedDelegate();
+ ~HandleNotificationClickedDelegate() override;
private:
std::string id_;
@@ -87,14 +87,14 @@ class MESSAGE_CENTER_EXPORT HandleNotificationButtonClickDelegate
const ButtonClickCallback& button_callback);
// message_center::NotificationDelegate overrides:
- virtual void Display() override;
- virtual void Error() override;
- virtual void Close(bool by_user) override;
- virtual void Click() override;
- virtual void ButtonClick(int button_index) override;
+ void Display() override;
+ void Error() override;
+ void Close(bool by_user) override;
+ void Click() override;
+ void ButtonClick(int button_index) override;
protected:
- virtual ~HandleNotificationButtonClickDelegate();
+ ~HandleNotificationButtonClickDelegate() override;
private:
ButtonClickCallback button_callback_;
« no previous file with comments | « ui/message_center/message_center_tray_unittest.cc ('k') | ui/message_center/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698