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

Unified Diff: ash/system/tray/throbber_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/system_tray_unittest.cc ('k') | ash/system/tray/tray_background_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/throbber_view.h
diff --git a/ash/system/tray/throbber_view.h b/ash/system/tray/throbber_view.h
index 022ce0168d4a89a5a91fe0d779938ea1dada06b7..1c7a9d7592f3832ded5706e6fd0530694dafe9be 100644
--- a/ash/system/tray/throbber_view.h
+++ b/ash/system/tray/throbber_view.h
@@ -15,13 +15,13 @@ namespace ash {
class SystemTrayThrobber : public views::SmoothedThrobber {
public:
SystemTrayThrobber(int frame_delay_ms);
- virtual ~SystemTrayThrobber();
+ ~SystemTrayThrobber() override;
void SetTooltipText(const base::string16& tooltip_text);
// Overriden from views::View.
- virtual bool GetTooltipText(
- const gfx::Point& p, base::string16* tooltip) const override;
+ bool GetTooltipText(const gfx::Point& p,
+ base::string16* tooltip) const override;
private:
// The current tooltip text.
@@ -34,17 +34,17 @@ class SystemTrayThrobber : public views::SmoothedThrobber {
class ThrobberView : public views::View {
public:
ThrobberView();
- virtual ~ThrobberView();
+ ~ThrobberView() override;
void Start();
void Stop();
void SetTooltipText(const base::string16& tooltip_text);
// Overriden from views::View.
- virtual gfx::Size GetPreferredSize() const override;
- virtual void Layout() override;
- virtual bool GetTooltipText(
- const gfx::Point& p, base::string16* tooltip) const override;
+ gfx::Size GetPreferredSize() const override;
+ void Layout() override;
+ bool GetTooltipText(const gfx::Point& p,
+ base::string16* tooltip) const override;
private:
// Schedules animation for starting/stopping throbber.
« no previous file with comments | « ash/system/tray/system_tray_unittest.cc ('k') | ash/system/tray/tray_background_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698