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

Unified Diff: Source/core/editing/InsertListCommand.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/InsertListCommand.h
diff --git a/Source/core/editing/InsertListCommand.h b/Source/core/editing/InsertListCommand.h
index 80933b253d2f1f57ac7487dfecdc3d13bd112c1e..1a21a362a50f922f245878ac79136e12db814b86 100644
--- a/Source/core/editing/InsertListCommand.h
+++ b/Source/core/editing/InsertListCommand.h
@@ -32,7 +32,7 @@ namespace WebCore {
class HTMLElement;
-class InsertListCommand : public CompositeEditCommand {
+class InsertListCommand FINAL : public CompositeEditCommand {
public:
enum Type { OrderedList, UnorderedList };
@@ -43,13 +43,13 @@ public:
static PassRefPtr<HTMLElement> insertList(Document&, Type);
- virtual bool preservesTypingStyle() const { return true; }
+ virtual bool preservesTypingStyle() const OVERRIDE { return true; }
private:
InsertListCommand(Document&, Type);
- virtual void doApply();
- virtual EditAction editingAction() const { return EditActionInsertList; }
+ virtual void doApply() OVERRIDE;
+ virtual EditAction editingAction() const OVERRIDE { return EditActionInsertList; }
HTMLElement* fixOrphanedListChild(Node*);
bool selectionHasListOfType(const VisibleSelection& selection, const QualifiedName&);

Powered by Google App Engine
This is Rietveld 408576698