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

Unified Diff: Source/core/rendering/RenderScrollbarPart.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/RenderScrollbar.h ('k') | Source/core/rendering/RenderScrollbarTheme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderScrollbarPart.h
diff --git a/Source/core/rendering/RenderScrollbarPart.h b/Source/core/rendering/RenderScrollbarPart.h
index 3dc713734d0bb361b33d39a1b661bb461b786c5e..fa6695ab9afc8b76846ce824653e0956989561d8 100644
--- a/Source/core/rendering/RenderScrollbarPart.h
+++ b/Source/core/rendering/RenderScrollbarPart.h
@@ -39,11 +39,11 @@ public:
virtual ~RenderScrollbarPart();
- virtual const char* renderName() const { return "RenderScrollbarPart"; }
+ virtual const char* renderName() const OVERRIDE { return "RenderScrollbarPart"; }
virtual LayerType layerTypeRequired() const OVERRIDE { return NoLayer; }
- virtual void layout();
+ virtual void layout() OVERRIDE;
void paintIntoRect(GraphicsContext*, const LayoutPoint&, const LayoutRect&);
@@ -53,18 +53,18 @@ public:
virtual LayoutUnit marginLeft() const OVERRIDE { ASSERT(isIntegerValue(m_marginBox.left())); return m_marginBox.left(); }
virtual LayoutUnit marginRight() const OVERRIDE { ASSERT(isIntegerValue(m_marginBox.right())); return m_marginBox.right(); }
- virtual bool isRenderScrollbarPart() const { return true; }
+ virtual bool isRenderScrollbarPart() const OVERRIDE { return true; }
RenderObject* rendererOwningScrollbar() const;
protected:
- virtual void styleWillChange(StyleDifference diff, const RenderStyle* newStyle);
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
- virtual void imageChanged(WrappedImagePtr, const IntRect* = 0);
+ virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle) OVERRIDE;
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
+ virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE;
private:
RenderScrollbarPart(RenderScrollbar*, ScrollbarPart);
- virtual void computePreferredLogicalWidths();
+ virtual void computePreferredLogicalWidths() OVERRIDE;
virtual bool supportsPartialLayout() const OVERRIDE { return false; }
« no previous file with comments | « Source/core/rendering/RenderScrollbar.h ('k') | Source/core/rendering/RenderScrollbarTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698