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

Unified Diff: ui/message_center/views/notification_view_unittest.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.cc ('k') | ui/message_center/views/notifier_settings_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view_unittest.cc
diff --git a/ui/message_center/views/notification_view_unittest.cc b/ui/message_center/views/notification_view_unittest.cc
index 193761878d27207e4f0368d19710fbbbcc2f15f8..3977f5fbb67ce3acbf2221983d2213ab43d4e0d4 100644
--- a/ui/message_center/views/notification_view_unittest.cc
+++ b/ui/message_center/views/notification_view_unittest.cc
@@ -26,10 +26,10 @@ class NotificationViewTest : public views::ViewsTestBase,
public MessageCenterController {
public:
NotificationViewTest();
- virtual ~NotificationViewTest();
+ ~NotificationViewTest() override;
- virtual void SetUp() override;
- virtual void TearDown() override;
+ void SetUp() override;
+ void TearDown() override;
views::Widget* widget() { return notification_view_->GetWidget(); }
NotificationView* notification_view() { return notification_view_.get(); }
@@ -37,15 +37,15 @@ class NotificationViewTest : public views::ViewsTestBase,
RichNotificationData* data() { return data_.get(); }
// 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;
protected:
const gfx::Image CreateTestImage(int width, int height) {
« no previous file with comments | « ui/message_center/views/notification_view.cc ('k') | ui/message_center/views/notifier_settings_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698