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

Unified Diff: Source/core/editing/InsertParagraphSeparatorCommand.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/InsertNodeBeforeCommand.h ('k') | Source/core/editing/InsertTextCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/InsertParagraphSeparatorCommand.h
diff --git a/Source/core/editing/InsertParagraphSeparatorCommand.h b/Source/core/editing/InsertParagraphSeparatorCommand.h
index 98a81304545b36d88fbc496a386e8df0ae0a9392..5b3f2da5d7b371abb2fd2e994a9b82b7cc2d55aa 100644
--- a/Source/core/editing/InsertParagraphSeparatorCommand.h
+++ b/Source/core/editing/InsertParagraphSeparatorCommand.h
@@ -32,19 +32,19 @@ namespace blink {
class EditingStyle;
-class InsertParagraphSeparatorCommand FINAL : public CompositeEditCommand {
+class InsertParagraphSeparatorCommand final : public CompositeEditCommand {
public:
static PassRefPtrWillBeRawPtr<InsertParagraphSeparatorCommand> create(Document& document, bool useDefaultParagraphElement = false, bool pasteBlockquoteIntoUnquotedArea = false)
{
return adoptRefWillBeNoop(new InsertParagraphSeparatorCommand(document, useDefaultParagraphElement, pasteBlockquoteIntoUnquotedArea));
}
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
InsertParagraphSeparatorCommand(Document&, bool useDefaultParagraphElement, bool pasteBlockquoteIntoUnquotedArea);
- virtual void doApply() OVERRIDE;
+ virtual void doApply() override;
void calculateStyleBeforeInsertion(const Position&);
void applyStyleAfterInsertion(Element* originalEnclosingBlock);
@@ -53,7 +53,7 @@ private:
bool shouldUseDefaultParagraphElement(Element*) const;
- virtual bool preservesTypingStyle() const OVERRIDE;
+ virtual bool preservesTypingStyle() const override;
RefPtrWillBeMember<EditingStyle> m_style;
« no previous file with comments | « Source/core/editing/InsertNodeBeforeCommand.h ('k') | Source/core/editing/InsertTextCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698