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

Unified Diff: Source/core/editing/TypingCommand.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/TextIteratorTest.cpp ('k') | Source/core/editing/UndoStack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/TypingCommand.h
diff --git a/Source/core/editing/TypingCommand.h b/Source/core/editing/TypingCommand.h
index 5307a8560c53c88dadd06e19810816c8a065aaf7..216a5871d11f437f18ebbe09cdecbc76c96c29ab 100644
--- a/Source/core/editing/TypingCommand.h
+++ b/Source/core/editing/TypingCommand.h
@@ -30,7 +30,7 @@
namespace blink {
-class TypingCommand FINAL : public TextInsertionBaseCommand {
+class TypingCommand final : public TextInsertionBaseCommand {
public:
enum ETypingCommand {
DeleteSelection,
@@ -96,12 +96,12 @@ private:
static PassRefPtrWillBeRawPtr<TypingCommand> lastTypingCommandIfStillOpenForTyping(LocalFrame*);
- virtual void doApply() OVERRIDE;
- virtual EditAction editingAction() const OVERRIDE;
- virtual bool isTypingCommand() const OVERRIDE;
- virtual bool preservesTypingStyle() const OVERRIDE { return m_preservesTypingStyle; }
- virtual void setShouldRetainAutocorrectionIndicator(bool retain) OVERRIDE { m_shouldRetainAutocorrectionIndicator = retain; }
- virtual bool shouldStopCaretBlinking() const OVERRIDE { return true; }
+ virtual void doApply() override;
+ virtual EditAction editingAction() const override;
+ virtual bool isTypingCommand() const override;
+ virtual bool preservesTypingStyle() const override { return m_preservesTypingStyle; }
+ virtual void setShouldRetainAutocorrectionIndicator(bool retain) override { m_shouldRetainAutocorrectionIndicator = retain; }
+ virtual bool shouldStopCaretBlinking() const override { return true; }
void setShouldPreventSpellChecking(bool prevent) { m_shouldPreventSpellChecking = prevent; }
static void updateSelectionIfDifferentFromCurrentSelection(TypingCommand*, LocalFrame*);
« no previous file with comments | « Source/core/editing/TextIteratorTest.cpp ('k') | Source/core/editing/UndoStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698