diff options
author | nona@chromium.org <nona@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 08:18:39 +0000 |
---|---|---|
committer | nona@chromium.org <nona@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 08:18:39 +0000 |
commit | 6b04841b5231edf19914543504cf52f39b1baca7 (patch) | |
tree | d6b013082ceef509d6161a58dc0736ee89572b62 | |
parent | 10a5bfb37bf1044e4d19ab5c7b0161e9d4dd3d3a (diff) | |
download | chromium_src-6b04841b5231edf19914543504cf52f39b1baca7.zip chromium_src-6b04841b5231edf19914543504cf52f39b1baca7.tar.gz chromium_src-6b04841b5231edf19914543504cf52f39b1baca7.tar.bz2 |
Fix candidate window position for ppapi plugin.
The ppapi plugin doesn't have API to get composition bounds.
So changed to give up candidate window to show at the composition head
character.
BUG=133415
TEST=Manually done on Alex with weathernews.jp
Review URL: https://chromiumcodereview.appspot.com/10583012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142925 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ui/base/ime/input_method_ibus.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/ime/input_method_ibus.cc b/ui/base/ime/input_method_ibus.cc index bc132cc..f3a6f87 100644 --- a/ui/base/ime/input_method_ibus.cc +++ b/ui/base/ime/input_method_ibus.cc @@ -337,7 +337,7 @@ void InputMethodIBus::OnCaretBoundsChanged(const TextInputClient* client) { gfx::Rect composition_head; if (!GetTextInputClient()->GetCompositionCharacterBounds(0, &composition_head)) { - composition_head = gfx::Rect(); + composition_head = rect; } // This function runs asynchronously. |