diff options
author | suzhe@google.com <suzhe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-05 18:36:24 +0000 |
---|---|---|
committer | suzhe@google.com <suzhe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-05 18:36:24 +0000 |
commit | 6b3496508c43ceda2e3476c4d75165891c6a6e44 (patch) | |
tree | 75cf792ac4d6bb368292c59448429af20a040b67 /chrome/renderer/render_widget.h | |
parent | 5885edba2c88322ca909218f10b26823fe9639fa (diff) | |
download | chromium_src-6b3496508c43ceda2e3476c4d75165891c6a6e44.zip chromium_src-6b3496508c43ceda2e3476c4d75165891c6a6e44.tar.gz chromium_src-6b3496508c43ceda2e3476c4d75165891c6a6e44.tar.bz2 |
Uses bool WebKit::WebWidget::confirmComposition(const WebString& text).
Before this CL, following events will be received by the web page when a text
is inserted by an IME:
compositionstart
compositionend
textInput
With this CL, the web page will only receive textInput event.
See also: https://bugs.webkit.org/show_bug.cgi?id=51693
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5999012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70525 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.h')
-rw-r--r-- | chrome/renderer/render_widget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h index f847ce2..ed99bbd 100644 --- a/chrome/renderer/render_widget.h +++ b/chrome/renderer/render_widget.h @@ -188,7 +188,7 @@ class RenderWidget : public IPC::Channel::Listener, const std::vector<WebKit::WebCompositionUnderline>& underlines, int selection_start, int selection_end); - void OnImeConfirmComposition(); + void OnImeConfirmComposition(const string16& text); void OnMsgPaintAtSize(const TransportDIB::Handle& dib_id, int tag, const gfx::Size& page_size, |