| Index: Source/web/SpellCheckerClientImpl.h
|
| diff --git a/Source/web/SpellCheckerClientImpl.h b/Source/web/SpellCheckerClientImpl.h
|
| index 0c1c9ea8cdb5cba9abdb75ae40df541dce5b08a5..c87a27ce2a305fb9d292cf4a2f99effa357474a3 100644
|
| --- a/Source/web/SpellCheckerClientImpl.h
|
| +++ b/Source/web/SpellCheckerClientImpl.h
|
| @@ -35,14 +35,12 @@
|
| #include "platform/text/TextCheckerClient.h"
|
|
|
| namespace blink {
|
| +
|
| class LocalFrame;
|
| class HTMLInputElement;
|
| -}
|
| -
|
| -namespace blink {
|
| class WebViewImpl;
|
|
|
| -class SpellCheckerClientImpl FINAL : public blink::SpellCheckerClient, public blink::TextCheckerClient {
|
| +class SpellCheckerClientImpl FINAL : public SpellCheckerClient, public TextCheckerClient {
|
| public:
|
| explicit SpellCheckerClientImpl(WebViewImpl*);
|
|
|
| @@ -51,17 +49,17 @@ public:
|
| virtual bool isContinuousSpellCheckingEnabled() OVERRIDE;
|
| virtual void toggleContinuousSpellChecking() OVERRIDE;
|
| virtual bool isGrammarCheckingEnabled() OVERRIDE;
|
| - virtual bool shouldEraseMarkersAfterChangeSelection(blink::TextCheckingType) const OVERRIDE;
|
| + virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const OVERRIDE;
|
| virtual void checkSpellingOfString(const String&, int* misspellingLocation, int* misspellingLength) OVERRIDE;
|
| - virtual void checkGrammarOfString(const String&, WTF::Vector<blink::GrammarDetail>&,
|
| + virtual void checkGrammarOfString(const String&, WTF::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(WTF::PassRefPtr<blink::TextCheckingRequest>) OVERRIDE;
|
| + virtual void requestCheckingOfString(WTF::PassRefPtr<TextCheckingRequest>) OVERRIDE;
|
|
|
| - virtual blink::TextCheckerClient& textChecker() OVERRIDE { return *this; }
|
| + virtual TextCheckerClient& textChecker() OVERRIDE { return *this; }
|
|
|
| private:
|
| // Returns whether or not the focused control needs spell-checking.
|
|
|