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

Unified Diff: chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h

Issue 680133002: 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
Index: chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h
diff --git a/chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h b/chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h
index 89fffdc463c27f4c5b45a8d86f19dfdf8956f2cf..74fcb8574f0593e9e78b6da8eacc9f5ac046d594 100644
--- a/chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h
+++ b/chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h
@@ -16,21 +16,21 @@ class StatusIconLinuxWrapper : public StatusIcon,
public views::StatusIconLinux::Delegate,
public StatusIconMenuModel::Observer {
public:
- virtual ~StatusIconLinuxWrapper();
+ ~StatusIconLinuxWrapper() override;
// StatusIcon overrides:
- virtual void SetImage(const gfx::ImageSkia& image) override;
- virtual void SetToolTip(const base::string16& tool_tip) override;
- virtual void DisplayBalloon(const gfx::ImageSkia& icon,
- const base::string16& title,
- const base::string16& contents) override;
+ void SetImage(const gfx::ImageSkia& image) override;
+ void SetToolTip(const base::string16& tool_tip) override;
+ void DisplayBalloon(const gfx::ImageSkia& icon,
+ const base::string16& title,
+ const base::string16& contents) override;
// StatusIconLinux::Delegate overrides:
- virtual void OnClick() override;
- virtual bool HasClickAction() override;
+ void OnClick() override;
+ bool HasClickAction() override;
// StatusIconMenuModel::Observer overrides:
- virtual void OnMenuStateChanged() override;
+ void OnMenuStateChanged() override;
static StatusIconLinuxWrapper* CreateWrappedStatusIcon(
const gfx::ImageSkia& image,
@@ -41,8 +41,7 @@ class StatusIconLinuxWrapper : public StatusIcon,
// Invoked after a call to SetContextMenu() to let the platform-specific
// subclass update the native context menu based on the new model. If NULL is
// passed, subclass should destroy the native context menu.
- virtual void UpdatePlatformContextMenu(
- StatusIconMenuModel* model) override;
+ void UpdatePlatformContextMenu(StatusIconMenuModel* model) override;
private:
// A status icon wrapper should only be created by calling
« no previous file with comments | « chrome/browser/ui/views/status_bubble_views.cc ('k') | chrome/browser/ui/views/status_icons/status_tray_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698