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

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

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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 fccf926b78394f5b33ad660687756cd46d3d2811..9a8a2db1a0c11f7edd93dcfa699eacef217a9063 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 FINAL : public Scrollbar {
+class RenderScrollbar final : public Scrollbar {
protected:
RenderScrollbar(ScrollableArea*, ScrollbarOrientation, Node*, LocalFrame*);
@@ -55,20 +55,20 @@ public:
int minimumThumbLength();
- virtual bool isOverlayScrollbar() const OVERRIDE { return false; }
+ virtual bool isOverlayScrollbar() const override { return false; }
RenderScrollbarPart* getPart(ScrollbarPart partType) { return m_parts.get(partType); }
private:
- virtual void setParent(Widget*) OVERRIDE;
- virtual void setEnabled(bool) OVERRIDE;
+ virtual void setParent(Widget*) override;
+ virtual void setEnabled(bool) override;
- virtual void setHoveredPart(ScrollbarPart) OVERRIDE;
- virtual void setPressedPart(ScrollbarPart) OVERRIDE;
+ virtual void setHoveredPart(ScrollbarPart) override;
+ virtual void setPressedPart(ScrollbarPart) override;
- virtual void styleChanged() OVERRIDE;
+ virtual void styleChanged() override;
- virtual bool isCustomScrollbar() const OVERRIDE { 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