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

Unified Diff: ash/system/tray/tray_notification_view.h

Issue 685483004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « ash/system/tray/tray_item_view.h ('k') | ash/system/tray/tray_popup_header_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_notification_view.h
diff --git a/ash/system/tray/tray_notification_view.h b/ash/system/tray/tray_notification_view.h
index 8cccf19aa56e1e08aad2d11dcc168c92e29942e7..07ce0b828f9cdb60fcdd19dd8d43c653d8ea60b3 100644
--- a/ash/system/tray/tray_notification_view.h
+++ b/ash/system/tray/tray_notification_view.h
@@ -31,7 +31,7 @@ class TrayNotificationView : public views::SlideOutView,
// If icon_id is 0, no icon image will be set. SetIconImage can be called
// to later set the icon image.
TrayNotificationView(SystemTrayItem* owner, int icon_id);
- virtual ~TrayNotificationView();
+ ~TrayNotificationView() override;
// InitView must be called once with the contents to be displayed.
void InitView(views::View* contents);
@@ -55,14 +55,13 @@ class TrayNotificationView : public views::SlideOutView,
void RestartAutoCloseTimer();
// Overridden from ButtonListener.
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) override;
+ void ButtonPressed(views::Button* sender, const ui::Event& event) override;
// Overridden from views::View.
- virtual bool OnMousePressed(const ui::MouseEvent& event) override;
+ bool OnMousePressed(const ui::MouseEvent& event) override;
// Overridden from ui::EventHandler.
- virtual void OnGestureEvent(ui::GestureEvent* event) override;
+ void OnGestureEvent(ui::GestureEvent* event) override;
protected:
// Called when the close button is pressed. Does nothing by default.
@@ -71,7 +70,7 @@ class TrayNotificationView : public views::SlideOutView,
virtual void OnClickAction();
// Overridden from views::SlideOutView.
- virtual void OnSlideOut() override;
+ void OnSlideOut() override;
SystemTrayItem* owner() { return owner_; }
« no previous file with comments | « ash/system/tray/tray_item_view.h ('k') | ash/system/tray/tray_popup_header_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698