| 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*);
|
|
|