Index: Source/core/editing/TypingCommand.h |
diff --git a/Source/core/editing/TypingCommand.h b/Source/core/editing/TypingCommand.h |
index 05032abe59b0380e01f2c56eb7c6820bd4062c64..b0b46678a3e2d2e2a7b74652eee42e6fb3a685a2 100644 |
--- a/Source/core/editing/TypingCommand.h |
+++ b/Source/core/editing/TypingCommand.h |
@@ -30,7 +30,7 @@ |
namespace WebCore { |
-class TypingCommand : public TextInsertionBaseCommand { |
+class TypingCommand FINAL : public TextInsertionBaseCommand { |
public: |
enum ETypingCommand { |
DeleteSelection, |
@@ -97,17 +97,17 @@ private: |
static PassRefPtr<TypingCommand> lastTypingCommandIfStillOpenForTyping(Frame*); |
- virtual void doApply(); |
- virtual EditAction editingAction() const; |
- virtual bool isTypingCommand() const; |
- virtual bool preservesTypingStyle() const { return m_preservesTypingStyle; } |
- virtual bool shouldRetainAutocorrectionIndicator() const |
+ virtual void doApply() OVERRIDE; |
+ virtual EditAction editingAction() const OVERRIDE; |
+ virtual bool isTypingCommand() const OVERRIDE; |
+ virtual bool preservesTypingStyle() const OVERRIDE { return m_preservesTypingStyle; } |
+ virtual bool shouldRetainAutocorrectionIndicator() const OVERRIDE |
{ |
ASSERT(isTopLevelCommand()); |
return m_shouldRetainAutocorrectionIndicator; |
} |
- virtual void setShouldRetainAutocorrectionIndicator(bool retain) { m_shouldRetainAutocorrectionIndicator = retain; } |
- virtual bool shouldStopCaretBlinking() const { return true; } |
+ 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*, Frame*); |