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

Unified Diff: ui/app_list/views/page_switcher.cc

Issue 681873002: 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/app_list/views/page_switcher.h ('k') | ui/app_list/views/progress_bar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/page_switcher.cc
diff --git a/ui/app_list/views/page_switcher.cc b/ui/app_list/views/page_switcher.cc
index 4ab6d6c481d7ceca274c37ca7e5c337402f2c0dd..3a6942fcc61a45588868ee61735301949f29ddf6 100644
--- a/ui/app_list/views/page_switcher.cc
+++ b/ui/app_list/views/page_switcher.cc
@@ -36,7 +36,7 @@ class PageSwitcherButton : public views::CustomButton {
button_width_(kMaxButtonWidth),
selected_range_(0) {
}
- virtual ~PageSwitcherButton() {}
+ ~PageSwitcherButton() override {}
void SetSelectedRange(double selected_range) {
if (selected_range_ == selected_range)
@@ -49,11 +49,11 @@ class PageSwitcherButton : public views::CustomButton {
void set_button_width(int button_width) { button_width_ = button_width; }
// Overridden from views::View:
- virtual gfx::Size GetPreferredSize() const override {
+ gfx::Size GetPreferredSize() const override {
return gfx::Size(button_width_, kButtonHeight);
}
- virtual void OnPaint(gfx::Canvas* canvas) override {
+ void OnPaint(gfx::Canvas* canvas) override {
if (state() == STATE_HOVERED)
PaintButton(canvas, kPagerHoverColor);
else
« no previous file with comments | « ui/app_list/views/page_switcher.h ('k') | ui/app_list/views/progress_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698