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

Unified Diff: ui/views/controls/progress_bar.h

Issue 681883002: 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
« no previous file with comments | « ui/views/controls/prefix_selector_unittest.cc ('k') | ui/views/controls/resize_area.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/progress_bar.h
diff --git a/ui/views/controls/progress_bar.h b/ui/views/controls/progress_bar.h
index e844d2f4bb2bd2a0dcd66e6a7711ef5df34a9e30..ab3a62a871ceec77d131feabf2a4e721901e8b30 100644
--- a/ui/views/controls/progress_bar.h
+++ b/ui/views/controls/progress_bar.h
@@ -16,7 +16,7 @@ class VIEWS_EXPORT ProgressBar : public View {
public:
// The value range defaults to [0.0, 1.0].
ProgressBar();
- virtual ~ProgressBar();
+ ~ProgressBar() override;
double current_value() const { return current_value_; }
@@ -38,17 +38,17 @@ class VIEWS_EXPORT ProgressBar : public View {
void SetTooltipText(const base::string16& tooltip_text);
// Overridden from View:
- virtual bool GetTooltipText(const gfx::Point& p,
- base::string16* tooltip) const override;
- virtual void GetAccessibleState(ui::AXViewState* state) override;
+ bool GetTooltipText(const gfx::Point& p,
+ base::string16* tooltip) const override;
+ void GetAccessibleState(ui::AXViewState* state) override;
private:
static const char kViewClassName[];
// Overridden from View:
- virtual gfx::Size GetPreferredSize() const override;
- virtual const char* GetClassName() const override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
+ gfx::Size GetPreferredSize() const override;
+ const char* GetClassName() const override;
+ void OnPaint(gfx::Canvas* canvas) override;
// Inclusive range used when displaying values.
double min_display_value_;
« no previous file with comments | « ui/views/controls/prefix_selector_unittest.cc ('k') | ui/views/controls/resize_area.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698