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

Unified Diff: cc/layers/content_layer.h

Issue 645853008: Standardize usage of virtual/override/final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted 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 | « cc/input/top_controls_manager_unittest.cc ('k') | cc/layers/contents_scaling_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/content_layer.h
diff --git a/cc/layers/content_layer.h b/cc/layers/content_layer.h
index 4b8c3465924fdd6adbd93ae0fc5bd93b4a5a3140..fe0bd37970f4323f51f8043a5e475e07456db496 100644
--- a/cc/layers/content_layer.h
+++ b/cc/layers/content_layer.h
@@ -21,7 +21,7 @@ class CC_EXPORT ContentLayerPainter : public LayerPainter {
public:
static scoped_ptr<ContentLayerPainter> Create(ContentLayerClient* client);
- virtual void Paint(SkCanvas* canvas, const gfx::Rect& content_rect) override;
+ void Paint(SkCanvas* canvas, const gfx::Rect& content_rect) override;
private:
explicit ContentLayerPainter(ContentLayerClient* client);
@@ -38,33 +38,32 @@ class CC_EXPORT ContentLayer : public TiledLayer {
void ClearClient();
- virtual void SetLayerTreeHost(LayerTreeHost* layer_tree_host) override;
- virtual void SetTexturePriorities(const PriorityCalculator& priority_calc)
- override;
- virtual bool Update(ResourceUpdateQueue* queue,
- const OcclusionTracker<Layer>* occlusion) override;
- virtual bool NeedMoreUpdates() override;
+ void SetLayerTreeHost(LayerTreeHost* layer_tree_host) override;
+ void SetTexturePriorities(const PriorityCalculator& priority_calc) override;
+ bool Update(ResourceUpdateQueue* queue,
+ const OcclusionTracker<Layer>* occlusion) override;
+ bool NeedMoreUpdates() override;
- virtual void SetContentsOpaque(bool contents_opaque) override;
+ void SetContentsOpaque(bool contents_opaque) override;
- virtual bool SupportsLCDText() const override;
+ bool SupportsLCDText() const override;
- virtual skia::RefPtr<SkPicture> GetPicture() const override;
+ skia::RefPtr<SkPicture> GetPicture() const override;
- virtual void OnOutputSurfaceCreated() override;
+ void OnOutputSurfaceCreated() override;
protected:
explicit ContentLayer(ContentLayerClient* client);
- virtual ~ContentLayer();
+ ~ContentLayer() override;
- virtual bool HasDrawableContent() const override;
+ bool HasDrawableContent() const override;
// TiledLayer implementation.
- virtual LayerUpdater* Updater() const override;
+ LayerUpdater* Updater() const override;
private:
// TiledLayer implementation.
- virtual void CreateUpdaterIfNeeded() override;
+ void CreateUpdaterIfNeeded() override;
void UpdateCanUseLCDText();
« no previous file with comments | « cc/input/top_controls_manager_unittest.cc ('k') | cc/layers/contents_scaling_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698