Commit 3ab45c13 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

chromeos: makes InputMethodMus notify observers when virtual keyboard shown

Which is used in some tests.

BUG=889101
TEST=covered by tests

Change-Id: I2757361aed21909b8020fe0f9e7c600fe88f950c
Reviewed-on: https://chromium-review.googlesource.com/c/1297408
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602237}
parent f189f0b6
# These tests currently fail with SingleProcessMash enabled. # These tests currently fail with SingleProcessMash enabled.
# Bug: crbug.com/883523 # Bug: crbug.com/883523
# Keyboard event related. See crbug.com/889101
-SitePerProcessTextInputManagerTest.CorrectlyShowVirtualKeyboardIfEnabled
# TODO(sky): this now fails because of differences in timing. In particular, # TODO(sky): this now fails because of differences in timing. In particular,
# in classic mode an accelerator that moves focus is processed *after* text # in classic mode an accelerator that moves focus is processed *after* text
# is inserted, where as now the accelerator runs first, resulting in text # is inserted, where as now the accelerator runs first, resulting in text
......
...@@ -138,6 +138,7 @@ bool InputMethodMus::IsCandidatePopupOpen() const { ...@@ -138,6 +138,7 @@ bool InputMethodMus::IsCandidatePopupOpen() const {
} }
void InputMethodMus::ShowVirtualKeyboardIfEnabled() { void InputMethodMus::ShowVirtualKeyboardIfEnabled() {
InputMethodBase::ShowVirtualKeyboardIfEnabled();
if (input_method_) if (input_method_)
input_method_->ShowVirtualKeyboardIfEnabled(); input_method_->ShowVirtualKeyboardIfEnabled();
} }
......
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