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

Unified Diff: ash/system/user/tray_user.h

Issue 683473005: 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/user/rounded_image_view.h ('k') | ash/system/user/tray_user_separator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user.h
diff --git a/ash/system/user/tray_user.h b/ash/system/user/tray_user.h
index 54dd974de27da9d8a361e4cfb0688d595b1218f1..c68ffef0c63ac9f2c23e85080c41641a70eea8ad 100644
--- a/ash/system/user/tray_user.h
+++ b/ash/system/user/tray_user.h
@@ -36,7 +36,7 @@ class ASH_EXPORT TrayUser : public SystemTrayItem,
// in users (if there are any). Depending on the multi user mode, there will
// be either one (index #0) or all users be visible in the system tray.
TrayUser(SystemTray* system_tray, MultiProfileIndex index);
- virtual ~TrayUser();
+ ~TrayUser() override;
// Allows unit tests to see if the item was created.
enum TestState {
@@ -61,19 +61,18 @@ class ASH_EXPORT TrayUser : public SystemTrayItem,
private:
// Overridden from SystemTrayItem.
- virtual views::View* CreateTrayView(user::LoginStatus status) override;
- virtual views::View* CreateDefaultView(user::LoginStatus status) override;
- virtual views::View* CreateDetailedView(user::LoginStatus status) override;
- virtual void DestroyTrayView() override;
- virtual void DestroyDefaultView() override;
- virtual void DestroyDetailedView() override;
- virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) override;
- virtual void UpdateAfterShelfAlignmentChange(
- ShelfAlignment alignment) override;
+ views::View* CreateTrayView(user::LoginStatus status) override;
+ views::View* CreateDefaultView(user::LoginStatus status) override;
+ views::View* CreateDetailedView(user::LoginStatus status) override;
+ void DestroyTrayView() override;
+ void DestroyDefaultView() override;
+ void DestroyDetailedView() override;
+ void UpdateAfterLoginStatusChange(user::LoginStatus status) override;
+ void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) override;
// Overridden from UserObserver.
- virtual void OnUserUpdate() override;
- virtual void OnUserAddedToSession() override;
+ void OnUserUpdate() override;
+ void OnUserAddedToSession() override;
void UpdateAvatarImage(user::LoginStatus status);
« no previous file with comments | « ash/system/user/rounded_image_view.h ('k') | ash/system/user/tray_user_separator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698