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

Unified Diff: Source/core/rendering/RenderImage.h

Issue 14383002: Apply FINAL to the RenderObject hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase, add OVERRIDEs. Created 7 years, 8 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/rendering/RenderIFrame.h ('k') | Source/core/rendering/RenderInline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderImage.h
diff --git a/Source/core/rendering/RenderImage.h b/Source/core/rendering/RenderImage.h
index 48ef4cc7c5cb8e0bd9c2334d394a74d5b8afe6d8..af4e798c40858aef699ec733aa1e69add26a14d6 100644
--- a/Source/core/rendering/RenderImage.h
+++ b/Source/core/rendering/RenderImage.h
@@ -62,16 +62,16 @@ public:
String altText() const { return m_altText; }
protected:
- virtual bool needsPreferredWidthsRecalculation() const;
- virtual RenderBox* embeddedContentBox() const;
- virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const;
+ virtual bool needsPreferredWidthsRecalculation() const OVERRIDE FINAL;
+ virtual RenderBox* embeddedContentBox() const OVERRIDE FINAL;
+ virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const OVERRIDE FINAL;
- virtual void styleDidChange(StyleDifference, const RenderStyle*);
+ virtual void styleDidChange(StyleDifference, const RenderStyle*) OVERRIDE FINAL;
virtual void imageChanged(WrappedImagePtr, const IntRect* = 0);
- virtual void paintIntoRect(GraphicsContext*, const LayoutRect&);
- virtual void paint(PaintInfo&, const LayoutPoint&);
+ void paintIntoRect(GraphicsContext*, const LayoutRect&);
+ virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
virtual void layout();
virtual void intrinsicSizeChanged()
@@ -84,19 +84,19 @@ private:
virtual const char* renderName() const { return "RenderImage"; }
virtual bool isImage() const { return true; }
- virtual bool isRenderImage() const { return true; }
+ virtual bool isRenderImage() const OVERRIDE FINAL { return true; }
virtual void paintReplaced(PaintInfo&, const LayoutPoint&);
- virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const OVERRIDE;
- virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE;
+ virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const OVERRIDE FINAL;
+ virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE FINAL;
virtual LayoutUnit minimumReplacedHeight() const OVERRIDE;
- virtual void notifyFinished(CachedResource*);
- virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE;
+ virtual void notifyFinished(CachedResource*) OVERRIDE FINAL;
+ virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE FINAL;
- virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const OVERRIDE;
+ virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const OVERRIDE FINAL;
IntSize imageSizeForError(CachedImage*) const;
void imageDimensionsChanged(bool imageSizeChanged, const IntRect* = 0);
« no previous file with comments | « Source/core/rendering/RenderIFrame.h ('k') | Source/core/rendering/RenderInline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698