Commit 88884291 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

chromeos: makes InputMethodMus notify observers when caret bounds change

Which is used in some tests.

BUG=889101
TEST=covered by tests

Change-Id: I74e191dd1bb7576d382e57b10f119bb4f6d4457b
Reviewed-on: https://chromium-review.googlesource.com/c/1297404Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602171}
parent d0372afe
......@@ -3,9 +3,6 @@
# Keyboard event related. See crbug.com/889101
-SitePerProcessTextInputManagerTest.CorrectlyShowVirtualKeyboardIfEnabled
-TextInput_SurroundingTextChangedTest.FocusToTextContainingTextAreaByClickingCase
-TextInput_SurroundingTextChangedTest.SurroundingTextChangedWithComposition
-TextInput_SurroundingTextChangedTest.SurroundingTextChangedWithInsertText
# TODO(sky): this now fails because of differences in timing. In particular,
# in classic mode an accelerator that moves focus is processed *after* text
......
......@@ -112,6 +112,8 @@ void InputMethodMus::OnCaretBoundsChanged(const ui::TextInputClient* client) {
if (input_method_)
input_method_->OnCaretBoundsChanged(client->GetCaretBounds());
NotifyTextInputCaretBoundsChanged(client);
}
void InputMethodMus::CancelComposition(const ui::TextInputClient* client) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment