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

Unified Diff: Source/core/rendering/RenderScrollbar.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/RenderRubyText.h ('k') | Source/core/rendering/RenderScrollbarPart.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderScrollbar.h
diff --git a/Source/core/rendering/RenderScrollbar.h b/Source/core/rendering/RenderScrollbar.h
index fcb60151a202279e63ee3a396ad88b4e34c89058..d9a9718953e5a44549a707dd52fe09cd83dfecca 100644
--- a/Source/core/rendering/RenderScrollbar.h
+++ b/Source/core/rendering/RenderScrollbar.h
@@ -38,7 +38,7 @@ class RenderBox;
class RenderScrollbarPart;
class RenderStyle;
-class RenderScrollbar : public Scrollbar {
+class RenderScrollbar FINAL : public Scrollbar {
protected:
RenderScrollbar(ScrollableArea*, ScrollbarOrientation, Node*, Frame*);
@@ -57,20 +57,20 @@ public:
int minimumThumbLength();
- virtual bool isOverlayScrollbar() const { return false; }
+ virtual bool isOverlayScrollbar() const OVERRIDE { return false; }
private:
virtual void setParent(Widget*) OVERRIDE;
- virtual void setEnabled(bool);
+ virtual void setEnabled(bool) OVERRIDE;
- virtual void paint(GraphicsContext*, const IntRect& damageRect);
+ virtual void paint(GraphicsContext*, const IntRect& damageRect) OVERRIDE;
- virtual void setHoveredPart(ScrollbarPart);
- virtual void setPressedPart(ScrollbarPart);
+ virtual void setHoveredPart(ScrollbarPart) OVERRIDE;
+ virtual void setPressedPart(ScrollbarPart) OVERRIDE;
- virtual void styleChanged();
+ virtual void styleChanged() OVERRIDE;
- virtual bool isCustomScrollbar() const { return true; }
+ virtual bool isCustomScrollbar() const OVERRIDE { return true; }
void updateScrollbarParts(bool destroy = false);
« no previous file with comments | « Source/core/rendering/RenderRubyText.h ('k') | Source/core/rendering/RenderScrollbarPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698