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

Unified Diff: Source/core/layout/LayoutSlider.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/layout/LayoutSearchField.h ('k') | Source/core/layout/LayoutSliderContainer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutSlider.h
diff --git a/Source/core/layout/LayoutSlider.h b/Source/core/layout/LayoutSlider.h
index 16fd2535510b676f1b2dff4cbadd641213b3409c..57745229be9a7a2b0d84ecb9bb81f670226334bb 100644
--- a/Source/core/layout/LayoutSlider.h
+++ b/Source/core/layout/LayoutSlider.h
@@ -33,18 +33,18 @@ public:
static const int defaultTrackLength;
explicit LayoutSlider(HTMLInputElement*);
- virtual ~LayoutSlider();
+ ~LayoutSlider() override;
bool inDragMode() const;
- virtual const char* name() const override { return "LayoutSlider"; }
+ const char* name() const override { return "LayoutSlider"; }
private:
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSlider || LayoutFlexibleBox::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSlider || LayoutFlexibleBox::isOfType(type); }
- virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
- virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
- virtual void layout() override;
+ int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
+ void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
+ void layout() override;
SliderThumbElement* sliderThumbElement() const;
};
« no previous file with comments | « Source/core/layout/LayoutSearchField.h ('k') | Source/core/layout/LayoutSliderContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698