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

Unified Diff: content/browser/web_contents/aura/shadow_layer_delegate.h

Issue 678973004: 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
Index: content/browser/web_contents/aura/shadow_layer_delegate.h
diff --git a/content/browser/web_contents/aura/shadow_layer_delegate.h b/content/browser/web_contents/aura/shadow_layer_delegate.h
index 0c8a76a8dcc6e82af5f94ba0864b3e8555068429..69c2dcbc7da3f3ed77a7b1f1f4f214f11db469fc 100644
--- a/content/browser/web_contents/aura/shadow_layer_delegate.h
+++ b/content/browser/web_contents/aura/shadow_layer_delegate.h
@@ -24,7 +24,7 @@ namespace content {
class ShadowLayerDelegate : public ui::LayerDelegate {
public:
explicit ShadowLayerDelegate(ui::Layer* shadow_for);
- virtual ~ShadowLayerDelegate();
+ ~ShadowLayerDelegate() override;
// Returns the layer for the shadow. Note that the ShadowLayerDelegate owns
// the layer, and the layer is destroyed when the delegate is destroyed.
@@ -32,11 +32,10 @@ class ShadowLayerDelegate : public ui::LayerDelegate {
private:
// Overridden from ui::LayerDelegate:
- virtual void OnPaintLayer(gfx::Canvas* canvas) override;
- virtual void OnDelegatedFrameDamage(
- const gfx::Rect& damage_rect_in_dip) override;
- virtual void OnDeviceScaleFactorChanged(float device_scale_factor) override;
- virtual base::Closure PrepareForLayerBoundsChange() override;
+ void OnPaintLayer(gfx::Canvas* canvas) override;
+ void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) override;
+ void OnDeviceScaleFactorChanged(float device_scale_factor) override;
+ base::Closure PrepareForLayerBoundsChange() override;
scoped_ptr<ui::Layer> layer_;

Powered by Google App Engine
This is Rietveld 408576698