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

Unified Diff: athena/home/athena_start_page_view.cc

Issue 641683003: C++11 override style change for athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src@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: athena/home/athena_start_page_view.cc
diff --git a/athena/home/athena_start_page_view.cc b/athena/home/athena_start_page_view.cc
index 72ba7210b02222c445bc1fd07cad386a71b30b8c..de3d5e332163d8f67b6e1ff2d4109d983a4d668e 100644
--- a/athena/home/athena_start_page_view.cc
+++ b/athena/home/athena_start_page_view.cc
@@ -72,7 +72,7 @@ class PlaceHolderButton : public views::ImageButton,
private:
// views::ButtonListener:
- virtual void ButtonPressed(views::Button* sender,
+ void ButtonPressed(views::Button* sender,
const ui::Event& event) override {
// Do nothing: remove these place holders.
}
@@ -96,7 +96,7 @@ class AppIconButton : public views::ImageButton,
private:
// views::ButtonListener:
- virtual void ButtonPressed(views::Button* sender,
+ void ButtonPressed(views::Button* sender,
const ui::Event& event) override {
DCHECK_EQ(sender, this);
item_->Activate(event.flags());
@@ -113,11 +113,11 @@ class RoundRectBackground : public views::Background {
RoundRectBackground(SkColor color, int corner_radius)
: color_(color),
corner_radius_(corner_radius) {}
- virtual ~RoundRectBackground() {}
+ ~RoundRectBackground() override {}
private:
// views::Background:
- virtual void Paint(gfx::Canvas* canvas, views::View* view) const override {
+ void Paint(gfx::Canvas* canvas, views::View* view) const override {
SkPaint paint;
paint.setStyle(SkPaint::kFill_Style);
paint.setColor(color_);
@@ -143,11 +143,11 @@ class SearchBoxContainer : public views::View {
SetLayoutManager(new views::FillLayout());
AddChildView(search_box_);
}
- virtual ~SearchBoxContainer() {}
+ ~SearchBoxContainer() override {}
private:
// views::View:
- virtual gfx::Size GetPreferredSize() const override {
+ gfx::Size GetPreferredSize() const override {
return gfx::Size(kSearchBoxWidth, kSearchBoxHeight);
}

Powered by Google App Engine
This is Rietveld 408576698