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

Unified Diff: athena/home/minimized_home.cc

Issue 641683003: C++11 override style change for athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src@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 | « athena/home/home_card_impl.cc ('k') | athena/input/accelerator_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/minimized_home.cc
diff --git a/athena/home/minimized_home.cc b/athena/home/minimized_home.cc
index a257112035314e397bbb4700e072f82c5c53e49b..06f0e5f6b7c6581d6d24c2306ea1e0118711c3d7 100644
--- a/athena/home/minimized_home.cc
+++ b/athena/home/minimized_home.cc
@@ -22,11 +22,11 @@ class MinimizedHomePainter : public ui::LayerDelegate,
layer->set_delegate(this);
SetLayer(layer);
}
- virtual ~MinimizedHomePainter() {}
+ ~MinimizedHomePainter() override {}
private:
// ui::LayerDelegate:
- virtual void OnPaintLayer(gfx::Canvas* canvas) override {
+ void OnPaintLayer(gfx::Canvas* canvas) override {
gfx::Rect bounds(layer()->GetTargetBounds().size());
canvas->FillRect(bounds, SK_ColorBLACK);
canvas->FillRect(gfx::Rect((bounds.width() - kDragHandleWidth) / 2,
@@ -36,14 +36,11 @@ class MinimizedHomePainter : public ui::LayerDelegate,
SK_ColorWHITE);
}
- virtual void OnDelegatedFrameDamage(
- const gfx::Rect& damage_rect_in_dip) override {
- }
+ void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) override {}
- virtual void OnDeviceScaleFactorChanged(float device_scale_factor) override {
- }
+ void OnDeviceScaleFactorChanged(float device_scale_factor) override {}
- virtual base::Closure PrepareForLayerBoundsChange() override {
+ base::Closure PrepareForLayerBoundsChange() override {
return base::Closure();
}
« no previous file with comments | « athena/home/home_card_impl.cc ('k') | athena/input/accelerator_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698