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

Unified Diff: ui/message_center/views/notification_view.cc

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
« no previous file with comments | « ui/message_center/views/notification_view.h ('k') | ui/message_center/views/notification_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view.cc
diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc
index 208a38640789fb2cb9c6986c34861616295d0d99..1cc9c2b17ab7c9e747cbcab5dda6821ad74b1d0c 100644
--- a/ui/message_center/views/notification_view.cc
+++ b/ui/message_center/views/notification_view.cc
@@ -112,10 +112,10 @@ bool HasAlpha(gfx::ImageSkia& image, views::Widget* widget) {
class ItemView : public views::View {
public:
ItemView(const message_center::NotificationItem& item);
- virtual ~ItemView();
+ ~ItemView() override;
// Overridden from views::View:
- virtual void SetVisible(bool visible) override;
+ void SetVisible(bool visible) override;
private:
DISALLOW_COPY_AND_ASSIGN(ItemView);
@@ -190,12 +190,12 @@ views::View* MakeNotificationImage(const gfx::Image& image, gfx::Size size) {
class NotificationProgressBar : public views::ProgressBar {
public:
NotificationProgressBar();
- virtual ~NotificationProgressBar();
+ ~NotificationProgressBar() override;
private:
// Overriden from View
- virtual gfx::Size GetPreferredSize() const override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
+ gfx::Size GetPreferredSize() const override;
+ void OnPaint(gfx::Canvas* canvas) override;
DISALLOW_COPY_AND_ASSIGN(NotificationProgressBar);
};
« no previous file with comments | « ui/message_center/views/notification_view.h ('k') | ui/message_center/views/notification_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698