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

Unified Diff: Source/web/SpellCheckerClientImpl.h

Issue 1230533002: Fix virtual/override/final usage in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/web/SpeechRecognitionClientProxy.h ('k') | Source/web/StorageClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/SpellCheckerClientImpl.h
diff --git a/Source/web/SpellCheckerClientImpl.h b/Source/web/SpellCheckerClientImpl.h
index 6cefb2c1d0bb09d97e75394c9ea22250c3082a13..2fcd624bcbe047c092868aa85b947b519cf0fe80 100644
--- a/Source/web/SpellCheckerClientImpl.h
+++ b/Source/web/SpellCheckerClientImpl.h
@@ -43,22 +43,22 @@ class SpellCheckerClientImpl final : public SpellCheckerClient, public TextCheck
public:
explicit SpellCheckerClientImpl(WebViewImpl*);
- virtual ~SpellCheckerClientImpl();
+ ~SpellCheckerClientImpl() override;
- virtual bool isContinuousSpellCheckingEnabled() override;
- virtual void toggleContinuousSpellChecking() override;
- virtual bool isGrammarCheckingEnabled() override;
- virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const override;
- virtual void checkSpellingOfString(const String&, int* misspellingLocation, int* misspellingLength) override;
- virtual void checkGrammarOfString(const String&, WTF::Vector<GrammarDetail>&,
+ bool isContinuousSpellCheckingEnabled() override;
+ void toggleContinuousSpellChecking() override;
+ bool isGrammarCheckingEnabled() override;
+ bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const override;
+ void checkSpellingOfString(const String&, int* misspellingLocation, int* misspellingLength) override;
+ void checkGrammarOfString(const String&, Vector<GrammarDetail>&,
int* badGrammarLocation, int* badGrammarLength) override;
- virtual WTF::String getAutoCorrectSuggestionForMisspelledWord(const WTF::String&) override;
- virtual void updateSpellingUIWithMisspelledWord(const WTF::String&) override;
- virtual void showSpellingUI(bool show) override;
- virtual bool spellingUIIsShowing() override;
- virtual void requestCheckingOfString(PassRefPtrWillBeRawPtr<TextCheckingRequest>) override;
+ String getAutoCorrectSuggestionForMisspelledWord(const String&) override;
+ void updateSpellingUIWithMisspelledWord(const String&) override;
+ void showSpellingUI(bool show) override;
+ bool spellingUIIsShowing() override;
+ void requestCheckingOfString(PassRefPtrWillBeRawPtr<TextCheckingRequest>) override;
- virtual TextCheckerClient& textChecker() override { return *this; }
+ TextCheckerClient& textChecker() override { return *this; }
private:
// Returns whether or not the focused control needs spell-checking.
« no previous file with comments | « Source/web/SpeechRecognitionClientProxy.h ('k') | Source/web/StorageClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698