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

Unified Diff: Source/core/rendering/RenderListMarker.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/RenderListItem.h ('k') | Source/core/rendering/RenderMarquee.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderListMarker.h
diff --git a/Source/core/rendering/RenderListMarker.h b/Source/core/rendering/RenderListMarker.h
index d0002ffb973e448bc27e6c82523c2594b60e8776..4c3bd374d10d875b40fd8d64b76d5e38cb278eb7 100644
--- a/Source/core/rendering/RenderListMarker.h
+++ b/Source/core/rendering/RenderListMarker.h
@@ -49,34 +49,34 @@ public:
private:
RenderListMarker(RenderListItem*);
- virtual const char* renderName() const { return "RenderListMarker"; }
+ virtual const char* renderName() const OVERRIDE { return "RenderListMarker"; }
virtual void computePreferredLogicalWidths() OVERRIDE;
- virtual bool isListMarker() const { return true; }
+ virtual bool isListMarker() const OVERRIDE { return true; }
- virtual void paint(PaintInfo&, const LayoutPoint&);
+ virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
- virtual void layout();
+ virtual void layout() OVERRIDE;
- virtual void imageChanged(WrappedImagePtr, const IntRect* = 0);
+ virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE;
- virtual InlineBox* createInlineBox();
+ virtual InlineBox* createInlineBox() OVERRIDE;
- virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const;
- virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const;
+ virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const OVERRIDE;
+ virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const OVERRIDE;
bool isImage() const;
bool isText() const { return !isImage(); }
- virtual void setSelectionState(SelectionState);
+ virtual void setSelectionState(SelectionState) OVERRIDE;
virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, bool clipToVisibleContent = true) OVERRIDE;
- virtual bool canBeSelectionLeaf() const { return true; }
+ virtual bool canBeSelectionLeaf() const OVERRIDE { return true; }
void updateMargins();
void updateContent();
- virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle);
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
+ virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle) OVERRIDE;
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
IntRect getRelativeMarkerRect();
LayoutRect localSelectionRect();
« no previous file with comments | « Source/core/rendering/RenderListItem.h ('k') | Source/core/rendering/RenderMarquee.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698