diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 19:43:56 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 19:43:56 +0000 |
commit | 1dbafaf7d28dfe0961f1ad2df46bfd85f2e78e92 (patch) | |
tree | 032364e60b865a010285caaf8bbf60c2b9cddf2d /webkit/tools/test_shell/test_webview_delegate.h | |
parent | eed6b62c57fd10e253a8dfd7704e2ecd3fba5a83 (diff) | |
download | chromium_src-1dbafaf7d28dfe0961f1ad2df46bfd85f2e78e92.zip chromium_src-1dbafaf7d28dfe0961f1ad2df46bfd85f2e78e92.tar.gz chromium_src-1dbafaf7d28dfe0961f1ad2df46bfd85f2e78e92.tar.bz2 |
Move some more methods from WebViewDelegate to WebViewClient.
This CL also removes two unnecessary methods on WebViewDelegate:
UserMetricsRecordAction and ShowSpellingUI were both never called.
R=dglazkov
BUG=10033
TEST=none
Review URL: http://codereview.chromium.org/227006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.h')
-rw-r--r-- | webkit/tools/test_shell/test_webview_delegate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h index ee2bc71..f96b351 100644 --- a/webkit/tools/test_shell/test_webview_delegate.h +++ b/webkit/tools/test_shell/test_webview_delegate.h @@ -114,6 +114,12 @@ class TestWebViewDelegate : public WebViewDelegate, virtual void didChangeContents(); virtual void didExecuteCommand(const WebKit::WebString& command_name) {} virtual void didEndEditing(); + virtual void spellCheck( + const WebKit::WebString& text, int& offset, int& length) {} + virtual WebKit::WebString autoCorrectWord( + const WebKit::WebString& misspelled_word); + virtual void updateSpellingUIWithMisspelledWord( + const WebKit::WebString& word) {} virtual void runModalAlertDialog( WebKit::WebFrame* frame, const WebKit::WebString& message); virtual bool runModalConfirmDialog( |