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

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

Issue 616603006: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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/editing/Caret.h ('k') | Source/core/editing/CreateLinkCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/CompositeEditCommand.h
diff --git a/Source/core/editing/CompositeEditCommand.h b/Source/core/editing/CompositeEditCommand.h
index b0ebf2a5d14de9d1a0a30d50f9b7b00b361211de..cf449f179caa3ef5f3fdd7c2eedb7b1685f4b55c 100644
--- a/Source/core/editing/CompositeEditCommand.h
+++ b/Source/core/editing/CompositeEditCommand.h
@@ -40,14 +40,14 @@ class HTMLElement;
class HTMLSpanElement;
class Text;
-class EditCommandComposition FINAL : public UndoStep {
+class EditCommandComposition final : public UndoStep {
public:
static PassRefPtrWillBeRawPtr<EditCommandComposition> create(Document*, const VisibleSelection&, const VisibleSelection&, EditAction);
- virtual bool belongsTo(const LocalFrame&) const OVERRIDE;
- virtual void unapply() OVERRIDE;
- virtual void reapply() OVERRIDE;
- virtual EditAction editingAction() const OVERRIDE { return m_editAction; }
+ virtual bool belongsTo(const LocalFrame&) const override;
+ virtual void unapply() override;
+ virtual void reapply() override;
+ virtual EditAction editingAction() const override { return m_editAction; }
void append(SimpleEditCommand*);
bool wasCreateLinkCommand() const { return m_editAction == EditActionCreateLink; }
@@ -58,7 +58,7 @@ public:
Element* startingRootEditableElement() const { return m_startingRootEditableElement.get(); }
Element* endingRootEditableElement() const { return m_endingRootEditableElement.get(); }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
EditCommandComposition(Document*, const VisibleSelection& startingSelection, const VisibleSelection& endingSelection, EditAction);
@@ -86,7 +86,7 @@ public:
virtual void setShouldRetainAutocorrectionIndicator(bool);
virtual bool shouldStopCaretBlinking() const { return false; }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
protected:
explicit CompositeEditCommand(Document&);
@@ -171,7 +171,7 @@ protected:
WillBeHeapVector<RefPtrWillBeMember<EditCommand> > m_commands;
private:
- virtual bool isCompositeEditCommand() const OVERRIDE FINAL { return true; }
+ virtual bool isCompositeEditCommand() const override final { return true; }
RefPtrWillBeMember<EditCommandComposition> m_composition;
};
« no previous file with comments | « Source/core/editing/Caret.h ('k') | Source/core/editing/CreateLinkCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698