summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index 193aef4..186940b 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -761,6 +761,12 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
misspell_location = misspell_length = 0;
}
+ // Computes an auto correct word for a misspelled word. If no word is found,
+ // empty string is computed.
+ virtual void GetAutoCorrectWord(const std::wstring& misspelled_word,
+ std::wstring& autocorrect_word) {
+ }
+
// Changes the state of the input method editor.
virtual void SetInputMethodState(bool enabled) { }