| Index: ui/base/ime/input_method_chromeos.cc
|
| diff --git a/ui/base/ime/input_method_chromeos.cc b/ui/base/ime/input_method_chromeos.cc
|
| index 6930968f7db6d043ea92027ce2904119914238e4..42d9cceb9c5ede6d6af4bced4ab13e33b6987ffb 100644
|
| --- a/ui/base/ime/input_method_chromeos.cc
|
| +++ b/ui/base/ime/input_method_chromeos.cc
|
| @@ -175,7 +175,12 @@ void InputMethodChromeOS::OnTextInputTypeChanged(
|
| }
|
|
|
| void InputMethodChromeOS::OnCaretBoundsChanged(const TextInputClient* client) {
|
| - if (!IsInputFieldFocused() || !IsTextInputClientFocused(client))
|
| + if (!IsTextInputFieldFocused() || !IsTextInputClientFocused(client))
|
| + return;
|
| +
|
| + NotifyTextInputCaretBoundsChanged(client);
|
| +
|
| + if (!IsInputFieldFocused())
|
| return;
|
|
|
| // The current text input type should not be NONE if |context_| is focused.
|
| @@ -659,4 +664,8 @@ bool InputMethodChromeOS::IsInputFieldFocused() {
|
| return (type != TEXT_INPUT_TYPE_NONE) && (type != TEXT_INPUT_TYPE_PASSWORD);
|
| }
|
|
|
| +bool InputMethodChromeOS::IsTextInputFieldFocused() {
|
| + return GetTextInputType() != TEXT_INPUT_TYPE_NONE;
|
| +}
|
| +
|
| } // namespace ui
|
|
|