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

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

Issue 129173004: Update rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 11 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/RenderProgress.h ('k') | Source/core/rendering/RenderReplaced.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderRegion.h
diff --git a/Source/core/rendering/RenderRegion.h b/Source/core/rendering/RenderRegion.h
index c05d61359b2237779cce890561846cc9f668648e..ad7c9b2156d940700ea32a6f82099c48b3945049 100644
--- a/Source/core/rendering/RenderRegion.h
+++ b/Source/core/rendering/RenderRegion.h
@@ -46,7 +46,7 @@ class RenderRegion : public RenderBlockFlow {
public:
explicit RenderRegion(Element*, RenderFlowThread*);
- virtual bool isRenderRegion() const OVERRIDE { return true; }
+ virtual bool isRenderRegion() const OVERRIDE FINAL { return true; }
bool hitTestFlowThreadContents(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction);
@@ -139,8 +139,8 @@ public:
virtual void collectLayerFragments(LayerFragments&, const LayoutRect&, const LayoutRect&) { }
- virtual bool canHaveChildren() const OVERRIDE { return false; }
- virtual bool canHaveGeneratedChildren() const OVERRIDE { return true; }
+ virtual bool canHaveChildren() const OVERRIDE FINAL { return false; }
+ virtual bool canHaveGeneratedChildren() const OVERRIDE FINAL { return true; }
bool isElementBasedRegion() const;
@@ -153,7 +153,7 @@ protected:
void setRegionObjectsRegionStyle();
void restoreRegionObjectsOriginalStyle();
- virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const OVERRIDE;
+ virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const OVERRIDE FINAL;
LayoutRect overflowRectForFlowThreadPortion(const LayoutRect& flowThreadPortionRect, bool isFirstPortion, bool isLastPortion) const;
void repaintFlowThreadContentRectangle(const LayoutRect& repaintRect, const LayoutRect& flowThreadPortionRect,
@@ -162,14 +162,14 @@ protected:
virtual bool shouldHaveAutoLogicalHeight() const;
private:
- virtual void insertedIntoTree() OVERRIDE;
- virtual void willBeRemovedFromTree() OVERRIDE;
+ virtual void insertedIntoTree() OVERRIDE FINAL;
+ virtual void willBeRemovedFromTree() OVERRIDE FINAL;
- virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) OVERRIDE;
- virtual bool supportsPartialLayout() const OVERRIDE { return false; }
+ virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) OVERRIDE FINAL;
+ virtual bool supportsPartialLayout() const OVERRIDE FINAL { return false; }
virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE;
- virtual void updateLogicalHeight() OVERRIDE;
+ virtual void updateLogicalHeight() OVERRIDE FINAL;
virtual void installFlowThread();
« no previous file with comments | « Source/core/rendering/RenderProgress.h ('k') | Source/core/rendering/RenderReplaced.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698