diff options
Diffstat (limited to 'WebCore/page/EditorClient.h')
-rw-r--r-- | WebCore/page/EditorClient.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/WebCore/page/EditorClient.h b/WebCore/page/EditorClient.h index ba9ceee..61bdd41 100644 --- a/WebCore/page/EditorClient.h +++ b/WebCore/page/EditorClient.h @@ -190,7 +190,7 @@ public: #endif #if SUPPORT_AUTOCORRECTION_PANEL - virtual void showCorrectionPanel(CorrectionPanelInfo::PanelType, const FloatRect& boundingBoxOfReplacedString, const String& replacedString, const String& replacmentString, const Vector<String>& alternativeReplacementStrings, Editor*) = 0; + virtual void showCorrectionPanel(CorrectionPanelInfo::PanelType, const FloatRect& boundingBoxOfReplacedString, const String& replacedString, const String& replacmentString, Editor*) = 0; virtual void dismissCorrectionPanel(CorrectionWasRejectedOrNot) = 0; virtual bool isShowingCorrectionPanel() = 0; #endif @@ -199,8 +199,7 @@ public: virtual void updateSpellingUIWithMisspelledWord(const String&) = 0; virtual void showSpellingUI(bool show) = 0; virtual bool spellingUIIsShowing() = 0; - // For spellcheckers that support multiple languages, it's often important to be able to identify the language in order to provide more accurate correction suggestions. Caller can pass in more text in "context" to aid such spellcheckers on language identification. Noramlly it's the text surrounding the "word" for which we are getting correction suggestions. - virtual void getGuessesForWord(const String& word, const String& context, Vector<String>& guesses) = 0; + virtual void getGuessesForWord(const String&, Vector<String>& guesses) = 0; virtual void willSetInputMethodState() = 0; virtual void setInputMethodState(bool enabled) = 0; }; |