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

Side by Side Diff: content/browser/web_contents/aura/shadow_layer_delegate.h

Issue 628213003: Replace OVERRIDE and FINAL with override and final in content/browser/web_contents (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/compositor/layer_delegate.h" 10 #include "ui/compositor/layer_delegate.h"
(...skipping 14 matching lines...) Expand all
25 public: 25 public:
26 explicit ShadowLayerDelegate(ui::Layer* shadow_for); 26 explicit ShadowLayerDelegate(ui::Layer* shadow_for);
27 virtual ~ShadowLayerDelegate(); 27 virtual ~ShadowLayerDelegate();
28 28
29 // Returns the layer for the shadow. Note that the ShadowLayerDelegate owns 29 // Returns the layer for the shadow. Note that the ShadowLayerDelegate owns
30 // the layer, and the layer is destroyed when the delegate is destroyed. 30 // the layer, and the layer is destroyed when the delegate is destroyed.
31 ui::Layer* layer() { return layer_.get(); } 31 ui::Layer* layer() { return layer_.get(); }
32 32
33 private: 33 private:
34 // Overridden from ui::LayerDelegate: 34 // Overridden from ui::LayerDelegate:
35 virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; 35 virtual void OnPaintLayer(gfx::Canvas* canvas) override;
36 virtual void OnDelegatedFrameDamage( 36 virtual void OnDelegatedFrameDamage(
37 const gfx::Rect& damage_rect_in_dip) OVERRIDE; 37 const gfx::Rect& damage_rect_in_dip) override;
38 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 38 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) override;
39 virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE; 39 virtual base::Closure PrepareForLayerBoundsChange() override;
40 40
41 scoped_ptr<ui::Layer> layer_; 41 scoped_ptr<ui::Layer> layer_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(ShadowLayerDelegate); 43 DISALLOW_COPY_AND_ASSIGN(ShadowLayerDelegate);
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ 48 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698