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

Unified Diff: Source/core/rendering/RenderSlider.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/RenderSelectionInfo.h ('k') | Source/core/rendering/RenderSliderContainer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderSlider.h
diff --git a/Source/core/rendering/RenderSlider.h b/Source/core/rendering/RenderSlider.h
index 25bff2fb20a51fd711e69ce8dcac53ce276016a1..39509ab1a1f9eda8bf8b381dd53633a0132533c4 100644
--- a/Source/core/rendering/RenderSlider.h
+++ b/Source/core/rendering/RenderSlider.h
@@ -28,7 +28,7 @@ namespace blink {
class HTMLInputElement;
class SliderThumbElement;
-class RenderSlider FINAL : public RenderFlexibleBox {
+class RenderSlider final : public RenderFlexibleBox {
public:
static const int defaultTrackLength;
@@ -38,12 +38,12 @@ public:
bool inDragMode() const;
private:
- virtual const char* renderName() const OVERRIDE { return "RenderSlider"; }
- virtual bool isSlider() const OVERRIDE { return true; }
+ virtual const char* renderName() const override { return "RenderSlider"; }
+ virtual bool isSlider() const override { return true; }
- virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const OVERRIDE;
- virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const OVERRIDE;
- virtual void layout() OVERRIDE;
+ virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
+ virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
+ virtual void layout() override;
SliderThumbElement* sliderThumbElement() const;
};
« no previous file with comments | « Source/core/rendering/RenderSelectionInfo.h ('k') | Source/core/rendering/RenderSliderContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698