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

Unified Diff: Source/core/editing/ModifySelectionListLevel.h

Issue 134343002: Update editing classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/core/editing/ModifySelectionListLevel.h
diff --git a/Source/core/editing/ModifySelectionListLevel.h b/Source/core/editing/ModifySelectionListLevel.h
index b8707281e4643a7b1340e3336cce9f71d46cc174..af0cfb42a24ceda09f790ea4c6babe46b084623a 100644
--- a/Source/core/editing/ModifySelectionListLevel.h
+++ b/Source/core/editing/ModifySelectionListLevel.h
@@ -42,11 +42,11 @@ protected:
void insertSiblingNodeRangeAfter(Node* startNode, Node* endNode, Node* refNode);
private:
- virtual bool preservesTypingStyle() const;
+ virtual bool preservesTypingStyle() const OVERRIDE FINAL;
};
// IncreaseSelectionListLevelCommand moves the selected list items one level deeper.
-class IncreaseSelectionListLevelCommand : public ModifySelectionListLevelCommand {
+class IncreaseSelectionListLevelCommand FINAL : public ModifySelectionListLevelCommand {
public:
static bool canIncreaseSelectionListLevel(Document&);
static PassRefPtr<Node> increaseSelectionListLevel(Document&);
@@ -64,14 +64,14 @@ private:
IncreaseSelectionListLevelCommand(Document&, Type);
- virtual void doApply();
+ virtual void doApply() OVERRIDE;
Type m_listType;
RefPtr<Node> m_listElement;
};
// DecreaseSelectionListLevelCommand moves the selected list items one level shallower.
-class DecreaseSelectionListLevelCommand : public ModifySelectionListLevelCommand {
+class DecreaseSelectionListLevelCommand FINAL : public ModifySelectionListLevelCommand {
public:
static bool canDecreaseSelectionListLevel(Document&);
static void decreaseSelectionListLevel(Document&);
@@ -84,7 +84,7 @@ private:
explicit DecreaseSelectionListLevelCommand(Document&);
- virtual void doApply();
+ virtual void doApply() OVERRIDE;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698