summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 19:43:56 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 19:43:56 +0000
commit1dbafaf7d28dfe0961f1ad2df46bfd85f2e78e92 (patch)
tree032364e60b865a010285caaf8bbf60c2b9cddf2d /chrome/renderer/render_view.h
parenteed6b62c57fd10e253a8dfd7704e2ecd3fba5a83 (diff)
downloadchromium_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 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 753ce12..c510c63 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -212,12 +212,6 @@ class RenderView : public RenderWidget,
const WebKit::WebRect& selection);
virtual bool WasOpenedByUserGesture() const;
virtual void FocusAccessibilityObject(WebCore::AccessibilityObject* acc_obj);
- virtual void SpellCheck(const std::wstring& word,
- int* misspell_location,
- int* misspell_length);
- virtual std::wstring GetAutoCorrectWord(const std::wstring& word);
- virtual void UpdateSpellingUIWithMisspelledWord(const std::wstring& word);
- virtual void ShowSpellingUI(bool show);
virtual void UserMetricsRecordAction(const std::wstring& action);
virtual void DnsPrefetch(const std::vector<std::string>& host_names);
virtual bool HandleCurrentKeyboardEvent();
@@ -255,6 +249,12 @@ class RenderView : public RenderWidget,
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(