summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host.h
diff options
context:
space:
mode:
authortkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 02:46:03 +0000
committertkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 02:46:03 +0000
commit1ff7a03b1ddb3032ce180c61da642cf38fd7c9ad (patch)
tree6949bb0569c418e0626e9a13bac7e04ce04f6b11 /chrome/browser/renderer_host/render_widget_host.h
parent4ef795df1f1a20a0aed61979fba034d4c7bcbd8d (diff)
downloadchromium_src-1ff7a03b1ddb3032ce180c61da642cf38fd7c9ad.zip
chromium_src-1ff7a03b1ddb3032ce180c61da642cf38fd7c9ad.tar.gz
chromium_src-1ff7a03b1ddb3032ce180c61da642cf38fd7c9ad.tar.bz2
Change the behavior of ViewMsg_Replace. It replaces a word around the
caret if there is no selected text. See http://webkit.org/b/33364 BUG=8841 TEST=Open www.google.com on Windows or Linux (not Mac OS) type "qeury" Right-click on the text field Select "query" Confirm that qeury is replaced with "query" Review URL: http://codereview.chromium.org/562014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.h')
-rw-r--r--chrome/browser/renderer_host/render_widget_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
index ea6c843..146be7f 100644
--- a/chrome/browser/renderer_host/render_widget_host.h
+++ b/chrome/browser/renderer_host/render_widget_host.h
@@ -339,7 +339,8 @@ class RenderWidgetHost : public IPC::Channel::Listener,
// Makes an IPC call to toggle the spelling panel.
void ToggleSpellPanel(bool is_currently_visible);
- // Makes an IPC call to tell webkit to replace the currently selected word.
+ // Makes an IPC call to tell webkit to replace the currently selected word
+ // or a word around the cursor.
void Replace(const string16& word);
// Makes an IPC call to tell webkit to advance to the next misspelling.