| Index: Source/core/editing/IndentOutdentCommand.h
|
| diff --git a/Source/core/editing/IndentOutdentCommand.h b/Source/core/editing/IndentOutdentCommand.h
|
| index 9adeab92f0222d4e573f769fefaaba62d7d1ceb2..42c739414e07fe4bb2fb58189f747e51f1267859 100644
|
| --- a/Source/core/editing/IndentOutdentCommand.h
|
| +++ b/Source/core/editing/IndentOutdentCommand.h
|
| @@ -31,7 +31,7 @@
|
|
|
| namespace blink {
|
|
|
| -class IndentOutdentCommand FINAL : public ApplyBlockElementCommand {
|
| +class IndentOutdentCommand final : public ApplyBlockElementCommand {
|
| public:
|
| enum EIndentType { Indent, Outdent };
|
| static PassRefPtrWillBeRawPtr<IndentOutdentCommand> create(Document& document, EIndentType type)
|
| @@ -39,20 +39,20 @@ public:
|
| return adoptRefWillBeNoop(new IndentOutdentCommand(document, type));
|
| }
|
|
|
| - virtual bool preservesTypingStyle() const OVERRIDE { return true; }
|
| + virtual bool preservesTypingStyle() const override { return true; }
|
|
|
| private:
|
| IndentOutdentCommand(Document&, EIndentType);
|
|
|
| - virtual EditAction editingAction() const OVERRIDE { return m_typeOfAction == Indent ? EditActionIndent : EditActionOutdent; }
|
| + virtual EditAction editingAction() const override { return m_typeOfAction == Indent ? EditActionIndent : EditActionOutdent; }
|
|
|
| void outdentRegion(const VisiblePosition&, const VisiblePosition&);
|
| void outdentParagraph();
|
| bool tryIndentingAsListItem(const Position&, const Position&);
|
| void indentIntoBlockquote(const Position&, const Position&, RefPtrWillBeRawPtr<HTMLElement>&);
|
|
|
| - virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE;
|
| - virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>& blockquoteForNextIndent) OVERRIDE;
|
| + virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) override;
|
| + virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>& blockquoteForNextIndent) override;
|
|
|
| EIndentType m_typeOfAction;
|
| };
|
|
|