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

Unified Diff: Source/core/layout/LayoutVideo.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | « Source/core/layout/LayoutVTTCue.h ('k') | Source/core/layout/LayoutView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutVideo.h
diff --git a/Source/core/layout/LayoutVideo.h b/Source/core/layout/LayoutVideo.h
index 06e93d2e4dd57deb5b5f8737cd47773cc6177764..c21f2ff9b2f89ca9bc90c0dd90a3de9b810e711b 100644
--- a/Source/core/layout/LayoutVideo.h
+++ b/Source/core/layout/LayoutVideo.h
@@ -35,7 +35,7 @@ class HTMLVideoElement;
class LayoutVideo final : public LayoutMedia {
public:
LayoutVideo(HTMLVideoElement*);
- virtual ~LayoutVideo();
+ ~LayoutVideo() override;
IntRect videoBox() const;
@@ -47,33 +47,33 @@ public:
HTMLVideoElement* videoElement() const;
bool acceleratedRenderingInUse();
- virtual const char* name() const override { return "LayoutVideo"; }
+ const char* name() const override { return "LayoutVideo"; }
private:
- virtual void updateFromElement() override;
+ void updateFromElement() override;
- virtual void intrinsicSizeChanged() override;
+ void intrinsicSizeChanged() override;
LayoutSize calculateIntrinsicSize();
void updateIntrinsicSize();
- virtual void imageChanged(WrappedImagePtr, const IntRect*) override;
+ void imageChanged(WrappedImagePtr, const IntRect*) override;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectVideo || LayoutMedia::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectVideo || LayoutMedia::isOfType(type); }
- virtual void paintReplaced(const PaintInfo&, const LayoutPoint&) override;
+ void paintReplaced(const PaintInfo&, const LayoutPoint&) override;
- virtual void layout() override;
+ void layout() override;
- virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActual) const override;
- virtual LayoutUnit computeReplacedLogicalHeight() const override;
- virtual LayoutUnit minimumReplacedHeight() const override;
+ LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActual) const override;
+ LayoutUnit computeReplacedLogicalHeight() const override;
+ LayoutUnit minimumReplacedHeight() const override;
- virtual LayoutUnit offsetLeft() const override;
- virtual LayoutUnit offsetTop() const override;
- virtual LayoutUnit offsetWidth() const override;
- virtual LayoutUnit offsetHeight() const override;
+ LayoutUnit offsetLeft() const override;
+ LayoutUnit offsetTop() const override;
+ LayoutUnit offsetWidth() const override;
+ LayoutUnit offsetHeight() const override;
- virtual CompositingReasons additionalCompositingReasons() const override;
+ CompositingReasons additionalCompositingReasons() const override;
void updatePlayer();
« no previous file with comments | « Source/core/layout/LayoutVTTCue.h ('k') | Source/core/layout/LayoutView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698