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

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

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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_win.h
diff --git a/chrome/browser/ui/views/status_icons/status_icon_win.h b/chrome/browser/ui/views/status_icons/status_icon_win.h
index 300bf0c8fed7ff08840221a5a19e0dd42f287559..c2f4ac7b5b10ecbf1e7429bb11494d0a135de374 100644
--- a/chrome/browser/ui/views/status_icons/status_icon_win.h
+++ b/chrome/browser/ui/views/status_icons/status_icon_win.h
@@ -28,7 +28,7 @@ class StatusIconWin : public StatusIcon {
public:
// Constructor which provides this icon's unique ID and messaging window.
StatusIconWin(StatusTrayWin* tray, UINT id, HWND window, UINT message);
- virtual ~StatusIconWin();
+ ~StatusIconWin() override;
// Handles a click event from the user - if |left_button_click| is true and
// there is a registered observer, passes the click event to the observer,
@@ -46,16 +46,16 @@ class StatusIconWin : public StatusIcon {
UINT message_id() const { return message_id_; }
// Overridden from StatusIcon:
- 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;
- virtual void ForceVisible() 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;
+ void ForceVisible() override;
protected:
// Overridden from StatusIcon:
- virtual void UpdatePlatformContextMenu(StatusIconMenuModel* menu) override;
+ void UpdatePlatformContextMenu(StatusIconMenuModel* menu) override;
private:
void InitIconData(NOTIFYICONDATA* icon_data);

Powered by Google App Engine
This is Rietveld 408576698